X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=test%2Fblue.c;h=50d48b1d5b843c377c920c26bb3c8c165b59556b;hp=dcea13834a20924f60f9aa813d31b4dbd3f792a1;hb=0266ec751090f9523ae676f357095176e293fb16;hpb=a1e63be290fce9e589bc57c9f753be09e8ac0cc7;ds=sidebyside diff --git a/test/blue.c b/test/blue.c index dcea1383..50d48b1d 100644 --- a/test/blue.c +++ b/test/blue.c @@ -40,7 +40,7 @@ * results, use the ncurses(3) library. On non-Intel machines, SVr4 curses is * just as good. * - * $Id: blue.c,v 1.34 2013/01/13 01:06:17 tom Exp $ + * $Id: blue.c,v 1.35 2013/04/27 19:46:53 tom Exp $ */ #include @@ -70,7 +70,7 @@ #define BLACK_ON_WHITE 2 #define BLUE_ON_WHITE 3 -static RETSIGTYPE die(int onsig) GCC_NORETURN; +static void die(int onsig) GCC_NORETURN; static int deck_size = PACK_SIZE; /* initial deck */ static int deck[PACK_SIZE]; @@ -132,7 +132,7 @@ static chtype glyphs[] = static chtype *suits = letters; /* this may change to glyphs below */ -static RETSIGTYPE +static void die(int onsig) { (void) signal(onsig, SIG_IGN);