summaryrefslogtreecommitdiff
path: root/usr.bin/unifdef
diff options
context:
space:
mode:
authorEd Schouten <ed@FreeBSD.org>2011-11-06 18:50:00 +0000
committerEd Schouten <ed@FreeBSD.org>2011-11-06 18:50:00 +0000
commit48ef17602ba0999ae7692f3bd38bac48d80ae09b (patch)
treeb813893d4cbbfa512973e448e4574b311a8e922a /usr.bin/unifdef
parente7b3338485ee59ea51b9482f4e4d345c5534a35a (diff)
downloadsrc-test-48ef17602ba0999ae7692f3bd38bac48d80ae09b.tar.gz
src-test-48ef17602ba0999ae7692f3bd38bac48d80ae09b.zip
Mark global functions and/or variables in unifdef(1) static where possible.
This allows compilers and static analyzers to more thorough analysis.
Notes
Notes: svn path=/head/; revision=227243
Diffstat (limited to 'usr.bin/unifdef')
-rw-r--r--usr.bin/unifdef/unifdef.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/unifdef/unifdef.c b/usr.bin/unifdef/unifdef.c
index 521b69842aaa9..8f7ed0fd1c271 100644
--- a/usr.bin/unifdef/unifdef.c
+++ b/usr.bin/unifdef/unifdef.c
@@ -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"