Author: ed
Date: Sun Nov  6 08:17:11 2011
New Revision: 227183
URL: http://svn.freebsd.org/changeset/base/227183
Log:
  Add missing static keywords to split(1)

Modified:
  head/usr.bin/split/split.c

Modified: head/usr.bin/split/split.c
==============================================================================
--- head/usr.bin/split/split.c  Sun Nov  6 08:17:05 2011        (r227182)
+++ head/usr.bin/split/split.c  Sun Nov  6 08:17:11 2011        (r227183)
@@ -61,16 +61,16 @@ static const char sccsid[] = "@(#)split.
 
 #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);
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to