svn commit: r322686 - stable/11/lib/ncurses/ncurses
Ngie Cooper
ngie at FreeBSD.org
Sat Aug 19 01:25:08 UTC 2017
Author: ngie
Date: Sat Aug 19 01:25:07 2017
New Revision: 322686
URL: https://svnweb.freebsd.org/changeset/base/322686
Log:
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.
Modified:
stable/11/lib/ncurses/ncurses/termcap.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/lib/ncurses/ncurses/termcap.c
==============================================================================
--- stable/11/lib/ncurses/ncurses/termcap.c Sat Aug 19 01:21:46 2017 (r322685)
+++ stable/11/lib/ncurses/ncurses/termcap.c Sat Aug 19 01:25:07 2017 (r322686)
@@ -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-stable-11
mailing list