summaryrefslogtreecommitdiffstats
path: root/usr.bin/tr
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2011-11-06 08:17:42 +0000
committered <ed@FreeBSD.org>2011-11-06 08:17:42 +0000
commit9e267acf2e4cdf0ff6ca57d6a6d7d67bb7e3d79c (patch)
tree9e58190146da79425272066991f15b71c2b170f0 /usr.bin/tr
parentd1b8bc9380d8006552c5f2c389edfeff8df34957 (diff)
downloadFreeBSD-src-9e267acf2e4cdf0ff6ca57d6a6d7d67bb7e3d79c.zip
FreeBSD-src-9e267acf2e4cdf0ff6ca57d6a6d7d67bb7e3d79c.tar.gz
Add missing static keywords to tr(1)
Diffstat (limited to 'usr.bin/tr')
-rw-r--r--usr.bin/tr/tr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tr/tr.c b/usr.bin/tr/tr.c
index aac0c2f..c2b6bf8 100644
--- a/usr.bin/tr/tr.c
+++ b/usr.bin/tr/tr.c
@@ -58,8 +58,8 @@ static const char sccsid[] = "@(#)tr.c 8.2 (Berkeley) 5/4/95";
#include "cset.h"
#include "extern.h"
-STR s1 = { STRING1, NORMAL, 0, OOBCH, 0, { 0, OOBCH }, NULL, NULL };
-STR s2 = { STRING2, NORMAL, 0, OOBCH, 0, { 0, OOBCH }, NULL, NULL };
+static STR s1 = { STRING1, NORMAL, 0, OOBCH, 0, { 0, OOBCH }, NULL, NULL };
+static STR s2 = { STRING2, NORMAL, 0, OOBCH, 0, { 0, OOBCH }, NULL, NULL };
static struct cset *setup(char *, STR *, int, int);
static void usage(void);
OpenPOWER on IntegriCloud