diff options
author | ed <ed@FreeBSD.org> | 2011-11-06 08:13:51 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2011-11-06 08:13:51 +0000 |
commit | c25f8d73b927e92879d22a79e218179e50831412 (patch) | |
tree | fe430b09b833ce6c3820b3a484d3e4e246a3eea3 /usr.bin/banner | |
parent | afccaaff1ca1ed52c67280899127c67ee999d9b9 (diff) | |
download | FreeBSD-src-c25f8d73b927e92879d22a79e218179e50831412.zip FreeBSD-src-c25f8d73b927e92879d22a79e218179e50831412.tar.gz |
Add missing static keywords to banner(1)
Diffstat (limited to 'usr.bin/banner')
-rw-r--r-- | usr.bin/banner/banner.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/usr.bin/banner/banner.c b/usr.bin/banner/banner.c index 7115983..b363f72 100644 --- a/usr.bin/banner/banner.c +++ b/usr.bin/banner/banner.c @@ -59,7 +59,7 @@ __FBSDID("$FreeBSD$"); #define NBYTES 9271 /* Pointers into data_table for each ASCII char */ -const int asc_ptr[NCHARS] = { +static const int asc_ptr[NCHARS] = { /* ^@ */ 0, 0, 0, 0, 0, 0, 0, 0, /* ^H */ 0, 0, 0, 0, 0, 0, 0, 0, /* ^P */ 0, 0, 0, 0, 0, 0, 0, 0, @@ -86,7 +86,7 @@ const int asc_ptr[NCHARS] = { * is the next elt in array) and goto second * next element in array. */ -const unsigned char data_table[NBYTES] = { +static const unsigned char data_table[NBYTES] = { /* 0 1 2 3 4 5 6 7 8 9 */ /* 0 */ 129, 227, 130, 34, 6, 90, 19, 129, 32, 10, /* 10 */ 74, 40, 129, 31, 12, 64, 53, 129, 30, 14, @@ -1018,11 +1018,11 @@ const unsigned char data_table[NBYTES] = { /* 9270 */ 193 }; -char line[DWIDTH]; -char *message; -char print[DWIDTH]; -int debug, i, j, linen, max, nchars, pc, term, trace, x, y; -int width = DWIDTH; /* -w option: scrunch letters to 80 columns */ +static char line[DWIDTH]; +static char *message; +static char print[DWIDTH]; +static int debug, i, j, linen, max, nchars, pc, term, trace, x, y; +static int width = DWIDTH; /* -w option: scrunch letters to 80 columns */ static void usage(void); |