diff options
Diffstat (limited to 'usr.bin/split/split.c')
-rw-r--r-- | usr.bin/split/split.c | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/usr.bin/split/split.c b/usr.bin/split/split.c index 41e428c622e..8726d6c9d34 100644 --- a/usr.bin/split/split.c +++ b/usr.bin/split/split.c @@ -1,4 +1,4 @@ -/* $OpenBSD: split.c,v 1.8 2003/06/03 02:56:16 millert Exp $ */ +/* $OpenBSD: split.c,v 1.9 2003/06/10 22:20:51 deraadt Exp $ */ /* $NetBSD: split.c,v 1.5 1995/08/31 22:22:05 jtc Exp $ */ /* @@ -40,7 +40,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)split.c 8.3 (Berkeley) 4/25/94"; #else -static char rcsid[] = "$OpenBSD: split.c,v 1.8 2003/06/03 02:56:16 millert Exp $"; +static char rcsid[] = "$OpenBSD: split.c,v 1.9 2003/06/10 22:20:51 deraadt Exp $"; #endif #endif /* not lint */ @@ -74,9 +74,7 @@ void split2(void); void usage(void); int -main(argc, argv) - int argc; - char *argv[]; +main(int argc, char *argv[]) { int ch; char *ep, *p; @@ -171,7 +169,7 @@ main(argc, argv) * Split the input by bytes. */ void -split1() +split1(void) { long bcnt; int dist, len; @@ -219,7 +217,7 @@ split1() * Split the input by lines. */ void -split2() +split2(void) { long lcnt = 0; FILE *infp; @@ -271,7 +269,7 @@ writeit: * Open a new output file. */ void -newfile() +newfile(void) { static long fnum; static int defname; @@ -308,7 +306,7 @@ newfile() } void -usage() +usage(void) { extern char *__progname; |