aboutsummaryrefslogtreecommitdiff
path: root/lib/ncurses
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2017-08-12 22:20:08 +0000
committerEnji Cooper <ngie@FreeBSD.org>2017-08-12 22:20:08 +0000
commit22dae9c629acf408b4524e91954e0adf0434c42c (patch)
treee87c14f22396aac014ba1bc71c26e0c68fbb9369 /lib/ncurses
parentc670f31f19918c5201e8b0f692ee59113c710854 (diff)
downloadsrc-22dae9c629acf408b4524e91954e0adf0434c42c.tar.gz
src-22dae9c629acf408b4524e91954e0adf0434c42c.zip
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
Notes
Notes: svn path=/head/; revision=322445
Diffstat (limited to 'lib/ncurses')
-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 011cc8428168..ffa71ea072f2 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>