diff options
author | dwmalone <dwmalone@FreeBSD.org> | 2001-12-03 21:37:35 +0000 |
---|---|---|
committer | dwmalone <dwmalone@FreeBSD.org> | 2001-12-03 21:37:35 +0000 |
commit | 383583bd4fd72315ced02ab5741047a6a7f3e7a7 (patch) | |
tree | 289e19ab28f237ce4e3c6dbb028a8bbff798eae4 /usr.bin/uniq | |
parent | d0e180a89a67ffe34aaf88ece44ae7537b7c2350 (diff) | |
download | FreeBSD-src-383583bd4fd72315ced02ab5741047a6a7f3e7a7.zip FreeBSD-src-383583bd4fd72315ced02ab5741047a6a7f3e7a7.tar.gz |
Warns cleanups. Add FreeBSD ID to Makefile.
Diffstat (limited to 'usr.bin/uniq')
-rw-r--r-- | usr.bin/uniq/Makefile | 2 | ||||
-rw-r--r-- | usr.bin/uniq/uniq.c | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/uniq/Makefile b/usr.bin/uniq/Makefile index fa0db8b..fa73ea4 100644 --- a/usr.bin/uniq/Makefile +++ b/usr.bin/uniq/Makefile @@ -1,5 +1,7 @@ +# $FreeBSD$ # @(#)Makefile 8.1 (Berkeley) 6/6/93 PROG= uniq +WARNS?= 2 .include <bsd.prog.mk> diff --git a/usr.bin/uniq/uniq.c b/usr.bin/uniq/uniq.c index 07e25a0..1237228 100644 --- a/usr.bin/uniq/uniq.c +++ b/usr.bin/uniq/uniq.c @@ -62,7 +62,7 @@ static const char rcsid[] = int cflag, dflag, uflag; int numchars, numfields, repeats; -FILE *file __P((char *, char *)); +FILE *file __P((const char *, const char *)); void show __P((FILE *, char *)); char *skip __P((char *)); void obsolete __P((char *[])); @@ -216,7 +216,7 @@ skip(str) FILE * file(name, mode) - char *name, *mode; + const char *name, *mode; { FILE *fp; |