diff --git a/usr.bin/tail/Makefile b/usr.bin/tail/Makefile index de1c3c99301e..c8166936983d 100644 --- a/usr.bin/tail/Makefile +++ b/usr.bin/tail/Makefile @@ -1,6 +1,8 @@ +# $FreeBSD$ # @(#)Makefile 8.1 (Berkeley) 6/6/93 PROG= tail SRCS= forward.c misc.c read.c reverse.c tail.c +WARNS?= 4 .include diff --git a/usr.bin/tail/tail.c b/usr.bin/tail/tail.c index 70afd4da0a78..2a3ee1365e74 100644 --- a/usr.bin/tail/tail.c +++ b/usr.bin/tail/tail.c @@ -67,9 +67,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; @@ -222,8 +220,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; size_t len; @@ -306,7 +303,7 @@ obsolete(argv) } static void -usage() +usage(void) { (void)fprintf(stderr, "usage: tail [-F | -f | -r] [-b # | -c # | -n #] [file ...]\n");