diff options
author | peter <peter@FreeBSD.org> | 2002-05-21 05:30:25 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2002-05-21 05:30:25 +0000 |
commit | 9a7523d4b2c09cefef7372e8a011b8d54fb07e5e (patch) | |
tree | bd986d58f5a6e348466b5362637ba93e6cd5bf8c /contrib/ncurses/test/xmas.c | |
parent | 635048e64c28721e175b82444857d679f6740aa2 (diff) | |
download | FreeBSD-src-9a7523d4b2c09cefef7372e8a011b8d54fb07e5e.zip FreeBSD-src-9a7523d4b2c09cefef7372e8a011b8d54fb07e5e.tar.gz |
Import ncurses-5.2-20020518 onto the vendor branch.
Obtained from: ftp://dickey.his.com/ncurses/
Diffstat (limited to 'contrib/ncurses/test/xmas.c')
-rw-r--r-- | contrib/ncurses/test/xmas.c | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/contrib/ncurses/test/xmas.c b/contrib/ncurses/test/xmas.c index d99b821..f7edde7 100644 --- a/contrib/ncurses/test/xmas.c +++ b/contrib/ncurses/test/xmas.c @@ -92,12 +92,10 @@ /******************************************************************************/ /* - * $Id: xmas.c,v 1.15 2000/09/02 18:45:53 tom Exp $ + * $Id: xmas.c,v 1.18 2002/03/23 21:46:58 tom Exp $ */ #include <test.priv.h> -#include <signal.h> - #define FROMWHO "Mark Hessling - (M.Hessling@gu.edu.au)" static int my_bg = COLOR_BLACK; @@ -149,11 +147,10 @@ static int strng5(void); static int reindeer(void); static int blinkit(void); -static RETSIGTYPE -done(int sig) GCC_NORETURN; +static RETSIGTYPE done(int sig) GCC_NORETURN; - static void - set_color(WINDOW *win, chtype color) +static void +set_color(WINDOW *win, chtype color) { if (has_colors()) { static bool *pairs; @@ -1156,5 +1153,5 @@ done(int sig GCC_UNUSED) refresh(); endwin(); curs_set(1); - exit(EXIT_SUCCESS); + ExitProgram(EXIT_SUCCESS); } |