diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-06-10 22:20:55 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-06-10 22:20:55 +0000 |
commit | b8aaa8bec8414f8e55cf9b61fe0873d242c773b8 (patch) | |
tree | 5e43016c4fae834239fd38972fd58355ed6b54b5 /usr.bin/tail/tail.c | |
parent | f18f6607440f6d2da08fac3522d88a65c77a5f3e (diff) |
mostly ansi cleanup; pval ok
Diffstat (limited to 'usr.bin/tail/tail.c')
-rw-r--r-- | usr.bin/tail/tail.c | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/usr.bin/tail/tail.c b/usr.bin/tail/tail.c index cbbe143e95b..333eddcf7a2 100644 --- a/usr.bin/tail/tail.c +++ b/usr.bin/tail/tail.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tail.c,v 1.10 2003/06/03 02:56:17 millert Exp $ */ +/* $OpenBSD: tail.c,v 1.11 2003/06/10 22:20:52 deraadt Exp $ */ /*- * Copyright (c) 1991, 1993 @@ -42,7 +42,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)tail.c 8.1 (Berkeley) 6/6/93"; #endif -static char rcsid[] = "$OpenBSD: tail.c,v 1.10 2003/06/03 02:56:17 millert Exp $"; +static char rcsid[] = "$OpenBSD: tail.c,v 1.11 2003/06/10 22:20:52 deraadt Exp $"; #endif /* not lint */ #include <sys/types.h> @@ -65,9 +65,7 @@ static void obsolete(char **); static void usage(void); int -main(argc, argv) - int argc; - char *argv[]; +main(int argc, char *argv[]) { struct stat sb; FILE *fp; @@ -218,8 +216,7 @@ main(argc, argv) * the option argument for a -b, -c or -n option gets converted. */ static void -obsolete(argv) - char *argv[]; +obsolete(char *argv[]) { char *ap, *p, *t; int len; @@ -301,7 +298,7 @@ obsolete(argv) } static void -usage() +usage(void) { (void)fprintf(stderr, "usage: tail [-f | -r] [-b # | -c # | -n #] [file ...]\n"); |