summaryrefslogtreecommitdiffstats
path: root/usr.bin/split/split.c
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2011-11-06 08:17:11 +0000
committered <ed@FreeBSD.org>2011-11-06 08:17:11 +0000
commit0d6f43e2bd827184dfb1da7240922e4aa8cf28a4 (patch)
treed298424434ad1371aabe3db0e8a42ba30d5767f2 /usr.bin/split/split.c
parent5d85b35609aeac665c34bffd0e95ebd2c3ac8783 (diff)
downloadFreeBSD-src-0d6f43e2bd827184dfb1da7240922e4aa8cf28a4.zip
FreeBSD-src-0d6f43e2bd827184dfb1da7240922e4aa8cf28a4.tar.gz
Add missing static keywords to split(1)
Diffstat (limited to 'usr.bin/split/split.c')
-rw-r--r--usr.bin/split/split.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/usr.bin/split/split.c b/usr.bin/split/split.c
index 061cd6c..0258c8c 100644
--- a/usr.bin/split/split.c
+++ b/usr.bin/split/split.c
@@ -61,16 +61,16 @@ static const char sccsid[] = "@(#)split.c 8.2 (Berkeley) 4/16/94";
#define DEFLINE 1000 /* Default num lines per file. */
-off_t bytecnt; /* Byte count to split on. */
-off_t chunks = 0; /* Chunks count to split into. */
-long numlines; /* Line count to split on. */
-int file_open; /* If a file open. */
-int ifd = -1, ofd = -1; /* Input/output file descriptors. */
-char bfr[MAXBSIZE]; /* I/O buffer. */
-char fname[MAXPATHLEN]; /* File name prefix. */
-regex_t rgx;
-int pflag;
-long sufflen = 2; /* File name suffix length. */
+static off_t bytecnt; /* Byte count to split on. */
+static off_t chunks = 0; /* Chunks count to split into. */
+static long numlines; /* Line count to split on. */
+static int file_open; /* If a file open. */
+static int ifd = -1, ofd = -1; /* Input/output file descriptors. */
+static char bfr[MAXBSIZE]; /* I/O buffer. */
+static char fname[MAXPATHLEN]; /* File name prefix. */
+static regex_t rgx;
+static int pflag;
+static long sufflen = 2; /* File name suffix length. */
static void newfile(void);
static void split1(void);
OpenPOWER on IntegriCloud