summaryrefslogtreecommitdiffstats
path: root/usr.bin/cksum
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2009-12-11 23:35:38 +0000
committerdelphij <delphij@FreeBSD.org>2009-12-11 23:35:38 +0000
commitb963db4652a0bf1718825e8e1a9bc93e87b7a80f (patch)
tree1c4d97908b52dc5263d006038b9af6b5ca886ca8 /usr.bin/cksum
parentf8bfec1fb23c300d6b8bb021cf4f7fdd21981c3f (diff)
downloadFreeBSD-src-b963db4652a0bf1718825e8e1a9bc93e87b7a80f.zip
FreeBSD-src-b963db4652a0bf1718825e8e1a9bc93e87b7a80f.tar.gz
Remove unneeded header includes from usr.bin/ except contributed code.
Tested with: make universe
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, 1 insertions, 4 deletions
diff --git a/usr.bin/cksum/Makefile b/usr.bin/cksum/Makefile
index 828900a..7ba3803 100644
--- a/usr.bin/cksum/Makefile
+++ b/usr.bin/cksum/Makefile
@@ -5,5 +5,6 @@ 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 d1f42f2..ee48278 100644
--- a/usr.bin/cksum/crc.c
+++ b/usr.bin/cksum/crc.c
@@ -44,7 +44,6 @@ __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 cadbc17..eefa772 100644
--- a/usr.bin/cksum/crc32.c
+++ b/usr.bin/cksum/crc32.c
@@ -17,7 +17,6 @@ __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 406b40e..e6dd910 100644
--- a/usr.bin/cksum/sum1.c
+++ b/usr.bin/cksum/sum1.c
@@ -43,7 +43,6 @@ __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 c179c62..b438062 100644
--- a/usr.bin/cksum/sum2.c
+++ b/usr.bin/cksum/sum2.c
@@ -42,7 +42,6 @@ __FBSDID("$FreeBSD$");
#include <sys/types.h>
#include <unistd.h>
-#include <stdint.h>
#include "extern.h"
OpenPOWER on IntegriCloud