summaryrefslogtreecommitdiffstats
path: root/usr.bin/wc/wc.c
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2011-11-06 08:19:00 +0000
committered <ed@FreeBSD.org>2011-11-06 08:19:00 +0000
commitbc3df37206e507a293485bd8601700998e17f65d (patch)
treef94f4c179dd80ed7659d7fc9e861f39b4d70d3be /usr.bin/wc/wc.c
parent6ad23491ecd385bc4ad5f570bb0af44600de4819 (diff)
downloadFreeBSD-src-bc3df37206e507a293485bd8601700998e17f65d.zip
FreeBSD-src-bc3df37206e507a293485bd8601700998e17f65d.tar.gz
Add missing static keywords to wc(1)
Diffstat (limited to 'usr.bin/wc/wc.c')
-rw-r--r--usr.bin/wc/wc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/wc/wc.c b/usr.bin/wc/wc.c
index 270a23b..08823a1 100644
--- a/usr.bin/wc/wc.c
+++ b/usr.bin/wc/wc.c
@@ -58,8 +58,8 @@ __FBSDID("$FreeBSD$");
#include <wchar.h>
#include <wctype.h>
-uintmax_t tlinect, twordct, tcharct, tlongline;
-int doline, doword, dochar, domulti, dolongline;
+static uintmax_t tlinect, twordct, tcharct, tlongline;
+static int doline, doword, dochar, domulti, dolongline;
static volatile sig_atomic_t siginfo;
static void show_cnt(const char *file, uintmax_t linect, uintmax_t wordct,
OpenPOWER on IntegriCloud