X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=test%2Fview.c;h=c4c53c79a1dba1d674e163be0bd0bd42cdf10855;hp=30a9c7ffddc8fb2fede6bc5803aaead2baee0766;hb=56a81c7e79f73d397cc8074401d039f59c34cad5;hpb=b661daf1160a873609d70843999cd46eff25d1f0 diff --git a/test/view.c b/test/view.c index 30a9c7ff..c4c53c79 100644 --- a/test/view.c +++ b/test/view.c @@ -52,7 +52,7 @@ * scroll operation worked, and the refresh() code only had to do a * partial repaint. * - * $Id: view.c,v 1.140 2021/03/27 22:42:22 tom Exp $ + * $Id: view.c,v 1.141 2021/05/08 15:57:04 tom Exp $ */ #include @@ -78,9 +78,7 @@ static int num_lines; static bool n_option = FALSE; #endif -static GCC_NORETURN void usage(void); - -static void +static GCC_NORETURN void failed(const char *msg) { endwin(); @@ -368,7 +366,7 @@ read_file(const char *filename) free(my_blob); } -static void +static GCC_NORETURN void usage(void) { static const char *msg[] =