Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Aug 2017 01:25:07 +0000 (UTC)
From:      Ngie Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r322686 - stable/11/lib/ncurses/ncurses
Message-ID:  <201708190125.v7J1P7Mp038366@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201708190125.v7J1P7Mp038366>