X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=test%2Fview.c;fp=test%2Fview.c;h=6beadc265a8f1bae896e7f7a54e85414cff8c4f0;hp=e4d746f4d6c5a631256bd6df4401f9efa084ad97;hb=c2650100f80134924eda8f22cd7cc1d1d919ee3d;hpb=bec710451bd1f286840c4e7e18fc646bd63adeba diff --git a/test/view.c b/test/view.c index e4d746f4..6beadc26 100644 --- a/test/view.c +++ b/test/view.c @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright 2019,2020 Thomas E. Dickey * + * Copyright 2019-2020,2021 Thomas E. Dickey * * Copyright 1998-2016,2017 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * @@ -52,7 +52,7 @@ * scroll operation worked, and the refresh() code only had to do a * partial repaint. * - * $Id: view.c,v 1.138 2020/02/02 23:34:34 tom Exp $ + * $Id: view.c,v 1.139 2021/03/20 16:04:20 tom Exp $ */ #include @@ -62,7 +62,7 @@ #include #include -static void finish(int sig) GCC_NORETURN; +static GCC_NORETURN void finish(int sig); #define my_pair 1 @@ -78,7 +78,7 @@ static int num_lines; static bool n_option = FALSE; #endif -static void usage(void) GCC_NORETURN; +static GCC_NORETURN void usage(void); static void failed(const char *msg)