Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Nov 2011 18:50:00 +0000 (UTC)
From:      Ed Schouten <ed@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r227243 - head/usr.bin/unifdef
Message-ID:  <201111061850.pA6Io0VA036189@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ed
Date: Sun Nov  6 18:50:00 2011
New Revision: 227243
URL: http://svn.freebsd.org/changeset/base/227243

Log:
  Mark global functions and/or variables in unifdef(1) static where possible.
  
  This allows compilers and static analyzers to more thorough analysis.

Modified:
  head/usr.bin/unifdef/unifdef.c

Modified: head/usr.bin/unifdef/unifdef.c
==============================================================================
--- head/usr.bin/unifdef/unifdef.c	Sun Nov  6 18:49:53 2011	(r227242)
+++ head/usr.bin/unifdef/unifdef.c	Sun Nov  6 18:50:00 2011	(r227243)
@@ -56,7 +56,7 @@
 #include <string.h>
 #include <unistd.h>
 
-const char copyright[] =
+static const char copyright[] =
     "@(#) $Version: unifdef-2.5.6.21f1388 $\n"
     "@(#) $FreeBSD$\n"
     "@(#) $Author: Tony Finch (dot@dotat.at) $\n"



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