diff options
| author | Josef El-Rayes <josef@FreeBSD.org> | 2004-12-27 22:27:56 +0000 |
|---|---|---|
| committer | Josef El-Rayes <josef@FreeBSD.org> | 2004-12-27 22:27:56 +0000 |
| commit | 806abfccac9881026a0956734e3b0e5d930cb463 (patch) | |
| tree | 0d357cbf73bb8dc367f1277cc453095a20d795c1 /usr.bin | |
| parent | ece5e04f5436677f507aaf91178739141df38a0d (diff) | |
Notes
Diffstat (limited to 'usr.bin')
| -rw-r--r-- | usr.bin/wc/Makefile | 3 | ||||
| -rw-r--r-- | usr.bin/wc/wc.c | 7 |
2 files changed, 4 insertions, 6 deletions
diff --git a/usr.bin/wc/Makefile b/usr.bin/wc/Makefile index 07da67addb1b..edce9c1412c8 100644 --- a/usr.bin/wc/Makefile +++ b/usr.bin/wc/Makefile @@ -1,5 +1,6 @@ # @(#)Makefile 8.1 (Berkeley) 6/6/93 +# $FreeBSD$ PROG= wc - +WARNS?= 6 .include <bsd.prog.mk> diff --git a/usr.bin/wc/wc.c b/usr.bin/wc/wc.c index 5afeb17cdc32..090ff7766a25 100644 --- a/usr.bin/wc/wc.c +++ b/usr.bin/wc/wc.c @@ -69,9 +69,7 @@ static int cnt(const char *); static void usage(void); int -main(argc, argv) - int argc; - char *argv[]; +main(int argc, char *argv[]) { int ch, errors, total; @@ -133,8 +131,7 @@ main(argc, argv) } static int -cnt(file) - const char *file; +cnt(const char *file) { struct stat sb; uintmax_t linect, wordct, charct; |
