diff options
author | Johan Karlsson <johan@FreeBSD.org> | 2004-07-16 11:07:07 +0000 |
---|---|---|
committer | Johan Karlsson <johan@FreeBSD.org> | 2004-07-16 11:07:07 +0000 |
commit | 7eaedc0cd3221c31679eef1550163074c16d5166 (patch) | |
tree | 864c16a4de7bd93349e756998f8f8261547ec314 /usr.bin/hexdump | |
parent | ac1ed13853d9aece8df73f0a14a63251eca741cd (diff) | |
download | src-7eaedc0cd3221c31679eef1550163074c16d5166.tar.gz src-7eaedc0cd3221c31679eef1550163074c16d5166.zip |
Include <string.h> to get memset and strcmp prototype.
Sort includes.
This is now WARNS=2 clean, bump WARNS to keep it clean.
Notes
Notes:
svn path=/head/; revision=132253
Diffstat (limited to 'usr.bin/hexdump')
-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 4cd3cc5dc62f..be572cf9ffdb 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 5d8ade9ed0fc..9668780677b0 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" |