]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - test/demo_terminfo.c
ncurses 6.3 - patch 20221210
[ncurses.git] / test / demo_terminfo.c
index 5b24c607de8485239e5a739dcc7fb9b9925ecd32..1b2d426ca718c1d0cbf04f7f3b1f4e61b3120655 100644 (file)
@@ -30,7 +30,7 @@
 /*
  * Author: Thomas E. Dickey
  *
- * $Id: demo_terminfo.c,v 1.55 2022/12/04 00:40:11 tom Exp $
+ * $Id: demo_terminfo.c,v 1.56 2022/12/10 23:22:09 tom Exp $
  *
  * A simple demo of the terminfo interface.
  */
@@ -954,7 +954,7 @@ main(int argc, char *argv[])
 
 #else /* !HAVE_TIGETSTR */
 int
-main(int argc GCC_UNUSED, char *argv[]GCC_UNUSED)
+main(void)
 {
     failed("This program requires the terminfo functions such as tigetstr");
     ExitProgram(EXIT_FAILURE);