diff options
author | johan <johan@FreeBSD.org> | 2004-07-16 11:07:07 +0000 |
---|---|---|
committer | johan <johan@FreeBSD.org> | 2004-07-16 11:07:07 +0000 |
commit | bc489758c0fe0e33863da8fbf5c738b63c5c8145 (patch) | |
tree | 864c16a4de7bd93349e756998f8f8261547ec314 | |
parent | f13c17093c678b6045650991d47d7df6bbe0b58d (diff) | |
download | FreeBSD-src-bc489758c0fe0e33863da8fbf5c738b63c5c8145.zip FreeBSD-src-bc489758c0fe0e33863da8fbf5c738b63c5c8145.tar.gz |
Include <string.h> to get memset and strcmp prototype.
Sort includes.
This is now WARNS=2 clean, bump WARNS to keep it clean.
-rw-r--r-- | usr.bin/hexdump/Makefile | 1 | ||||
-rw-r--r-- | usr.bin/hexdump/conv.c | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/hexdump/Makefile b/usr.bin/hexdump/Makefile index 4cd3cc5..be572cf 100644 --- a/usr.bin/hexdump/Makefile +++ b/usr.bin/hexdump/Makefile @@ -7,5 +7,6 @@ MAN= hexdump.1 od.1 MLINKS= hexdump.1 hd.1 LINKS= ${BINDIR}/hexdump ${BINDIR}/od LINKS+= ${BINDIR}/hexdump ${BINDIR}/hd +WARNS?= 2 .include <bsd.prog.mk> diff --git a/usr.bin/hexdump/conv.c b/usr.bin/hexdump/conv.c index 5d8ade9..9668780 100644 --- a/usr.bin/hexdump/conv.c +++ b/usr.bin/hexdump/conv.c @@ -40,10 +40,11 @@ __FBSDID("$FreeBSD$"); #include <sys/types.h> #include <assert.h> -#include <stdio.h> #include <ctype.h> #include <limits.h> +#include <stdio.h> #include <stdlib.h> +#include <string.h> #include <wchar.h> #include <wctype.h> #include "hexdump.h" |