summaryrefslogtreecommitdiffstats
path: root/usr.bin/unifdef
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2011-11-06 18:50:00 +0000
committered <ed@FreeBSD.org>2011-11-06 18:50:00 +0000
commit8ea5e6afe9b1a842636691228198747a889785f8 (patch)
treeb813893d4cbbfa512973e448e4574b311a8e922a /usr.bin/unifdef
parent5675f1d7a701ddc39bd6bec39866716916254e12 (diff)
downloadFreeBSD-src-8ea5e6afe9b1a842636691228198747a889785f8.zip
FreeBSD-src-8ea5e6afe9b1a842636691228198747a889785f8.tar.gz
Mark global functions and/or variables in unifdef(1) static where possible.
This allows compilers and static analyzers to more thorough analysis.
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 521b698..8f7ed0f 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"
OpenPOWER on IntegriCloud