summaryrefslogtreecommitdiffstats
path: root/usr.bin/cksum
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2009-12-13 03:14:06 +0000
committerdelphij <delphij@FreeBSD.org>2009-12-13 03:14:06 +0000
commit0842b7d53ffede64468e775f5c79965e3d9e48ae (patch)
treeec0e60a06ede057b5afe3f1a6eccc05036f5c424 /usr.bin/cksum
parent7510724a04e34e0c4cdf7551cd6e74fb053368e8 (diff)
downloadFreeBSD-src-0842b7d53ffede64468e775f5c79965e3d9e48ae.zip
FreeBSD-src-0842b7d53ffede64468e775f5c79965e3d9e48ae.tar.gz
Revert most part of 200420 as requested, as more review and polish is
needed.
Diffstat (limited to 'usr.bin/cksum')
-rw-r--r--usr.bin/cksum/Makefile1
-rw-r--r--usr.bin/cksum/crc.c1
-rw-r--r--usr.bin/cksum/crc32.c1
-rw-r--r--usr.bin/cksum/sum1.c1
-rw-r--r--usr.bin/cksum/sum2.c1
5 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/cksum/Makefile b/usr.bin/cksum/Makefile
index 7ba3803..828900a 100644
--- a/usr.bin/cksum/Makefile
+++ b/usr.bin/cksum/Makefile
@@ -5,6 +5,5 @@ PROG= cksum
SRCS= cksum.c crc.c print.c sum1.c sum2.c crc32.c
LINKS= ${BINDIR}/cksum ${BINDIR}/sum
MLINKS= cksum.1 sum.1
-WARNS?= 6
.include <bsd.prog.mk>
diff --git a/usr.bin/cksum/crc.c b/usr.bin/cksum/crc.c
index ee48278..d1f42f2 100644
--- a/usr.bin/cksum/crc.c
+++ b/usr.bin/cksum/crc.c
@@ -44,6 +44,7 @@ __FBSDID("$FreeBSD$");
#include <sys/types.h>
+#include <stdint.h>
#include <unistd.h>
#include "extern.h"
diff --git a/usr.bin/cksum/crc32.c b/usr.bin/cksum/crc32.c
index eefa772..cadbc17 100644
--- a/usr.bin/cksum/crc32.c
+++ b/usr.bin/cksum/crc32.c
@@ -17,6 +17,7 @@ __FBSDID("$FreeBSD$");
#include <sys/types.h>
#include <stdio.h>
+#include <stdint.h>
#include <unistd.h>
#include "extern.h"
diff --git a/usr.bin/cksum/sum1.c b/usr.bin/cksum/sum1.c
index e6dd910..406b40e 100644
--- a/usr.bin/cksum/sum1.c
+++ b/usr.bin/cksum/sum1.c
@@ -43,6 +43,7 @@ __FBSDID("$FreeBSD$");
#include <sys/types.h>
#include <unistd.h>
+#include <stdint.h>
#include "extern.h"
diff --git a/usr.bin/cksum/sum2.c b/usr.bin/cksum/sum2.c
index b438062..c179c62 100644
--- a/usr.bin/cksum/sum2.c
+++ b/usr.bin/cksum/sum2.c
@@ -42,6 +42,7 @@ __FBSDID("$FreeBSD$");
#include <sys/types.h>
#include <unistd.h>
+#include <stdint.h>
#include "extern.h"
OpenPOWER on IntegriCloud