summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2017-08-19 01:25:07 +0000
committerngie <ngie@FreeBSD.org>2017-08-19 01:25:07 +0000
commit4ffb2fc8951cbc99e5994c5ce31550f681ffb346 (patch)
tree38373db9af39a463e43bc229ff39390a19b7ae22 /lib
parentb82e58ea7a8199a9fdab1f5657b6b31f22d5644c (diff)
downloadFreeBSD-src-4ffb2fc8951cbc99e5994c5ce31550f681ffb346.zip
FreeBSD-src-4ffb2fc8951cbc99e5994c5ce31550f681ffb346.tar.gz
MFC r322445:
Hide `sccsid` under #if 0, per example in style(9) This fixes a -Wunused warning with gcc 6.3.0/7.0.0.
Diffstat (limited to 'lib')
-rw-r--r--lib/ncurses/ncurses/termcap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ncurses/ncurses/termcap.c b/lib/ncurses/ncurses/termcap.c
index f88e42e..085cc48 100644
--- a/lib/ncurses/ncurses/termcap.c
+++ b/lib/ncurses/ncurses/termcap.c
@@ -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>
OpenPOWER on IntegriCloud