diff options
| author | David Malone <dwmalone@FreeBSD.org> | 2001-12-03 21:27:45 +0000 |
|---|---|---|
| committer | David Malone <dwmalone@FreeBSD.org> | 2001-12-03 21:27:45 +0000 |
| commit | 45af1a4cbd74d8ca93f64923e54ccbecf130574f (patch) | |
| tree | f249bea7b83cc2809cfd62d4327291486ab3ac0f /usr.bin/strings | |
| parent | 6e878749df2bdadf9433851a2ec73bf3f8fe6a70 (diff) | |
Notes
Diffstat (limited to 'usr.bin/strings')
| -rw-r--r-- | usr.bin/strings/Makefile | 1 | ||||
| -rw-r--r-- | usr.bin/strings/strings.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/strings/Makefile b/usr.bin/strings/Makefile index 04b3f022c321..d75ae7bef6c1 100644 --- a/usr.bin/strings/Makefile +++ b/usr.bin/strings/Makefile @@ -3,6 +3,7 @@ PROG= strings MAN= strings.1aout +WARNS?= 2 BINDIR= /usr/libexec/aout .include <bsd.prog.mk> diff --git a/usr.bin/strings/strings.c b/usr.bin/strings/strings.c index 128292f22b4d..2410ba2901ce 100644 --- a/usr.bin/strings/strings.c +++ b/usr.bin/strings/strings.c @@ -84,7 +84,7 @@ main(argc, argv) int exitcode, minlen; short asdata, oflg, fflg; u_char *bfr; - char *file, *p; + const char *file, *p; (void) setlocale(LC_CTYPE, ""); |
