svn commit: r322445 - head/lib/ncurses/ncurses

Ngie Cooper ngie at FreeBSD.org
Sat Aug 12 22:20:09 UTC 2017


Author: ngie
Date: Sat Aug 12 22:20:08 2017
New Revision: 322445
URL: https://svnweb.freebsd.org/changeset/base/322445

Log:
  Hide `sccsid` under #if 0, per example in style(9)
  
  This fixes a -Wunused warning with gcc 6.3.0/7.0.0.
  
  MFC after:	1 week

Modified:
  head/lib/ncurses/ncurses/termcap.c

Modified: head/lib/ncurses/ncurses/termcap.c
==============================================================================
--- head/lib/ncurses/ncurses/termcap.c	Sat Aug 12 22:14:09 2017	(r322444)
+++ head/lib/ncurses/ncurses/termcap.c	Sat Aug 12 22:20:08 2017	(r322445)
@@ -59,9 +59,11 @@
 #include <sys/cdefs.h>
 __FBSDID("$FreeBSD$");
 
+#if 0
 #ifndef lint
 static const char sccsid[] = "@(#)termcap.c	8.1 (Berkeley) 6/4/93";
 #endif /* not lint */
+#endif
 
 #include <stdio.h>
 #include <ctype.h>


More information about the svn-src-all mailing list