]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - test/padview.c
ncurses 6.2 - patch 20210327
[ncurses.git] / test / padview.c
index 60f800ffac7539da97da76d6ac91061f54375fca..c99fddd99078733da89469814bd47e4108c4e143 100644 (file)
@@ -1,5 +1,6 @@
 /****************************************************************************
- * Copyright (c) 2017,2019 Free Software Foundation, Inc.                   *
+ * Copyright 2019-2020,2021 Thomas E. Dickey                                *
+ * Copyright 2017 Free Software Foundation, Inc.                            *
  *                                                                          *
  * Permission is hereby granted, free of charge, to any person obtaining a  *
  * copy of this software and associated documentation files (the            *
@@ -28,7 +29,7 @@
 /*
  * clone of view.c, using pads
  *
- * $Id: padview.c,v 1.15 2019/12/07 18:06:12 tom Exp $
+ * $Id: padview.c,v 1.17 2021/03/20 16:04:45 tom Exp $
  */
 
 #include <test.priv.h>
@@ -40,7 +41,7 @@
 
 #if HAVE_NEWPAD
 
-static void finish(int sig) GCC_NORETURN;
+static GCC_NORETURN void finish(int sig);
 
 #define my_pair 1
 
@@ -54,7 +55,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)