aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2011-06-24 07:05:20 +0000
committerKevin Lo <kevlo@FreeBSD.org>2011-06-24 07:05:20 +0000
commitfdb6437f737f493d4a064fb1891bfc78024e06a1 (patch)
tree37f94f5893893d0b61b70f14ae974402470323fb /usr.sbin
parentf6c506d9cf5056e5165edcdfb1cb2078e026d435 (diff)
Remove duplicated header files
Notes
Notes: svn path=/head/; revision=223492
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/ancontrol/ancontrol.c1
-rw-r--r--usr.sbin/ifmcstat/ifmcstat.c1
-rw-r--r--usr.sbin/nfsd/nfsd.c1
-rw-r--r--usr.sbin/pmcstat/pmcpl_calltree.c1
-rw-r--r--usr.sbin/ppp/nat_cmd.c1
-rw-r--r--usr.sbin/rpc.yppasswdd/yppasswdd_main.c1
-rw-r--r--usr.sbin/rpc.ypupdated/update.c1
-rw-r--r--usr.sbin/rpc.ypupdated/ypupdated_main.c1
-rw-r--r--usr.sbin/rpc.ypupdated/ypupdated_server.c1
-rw-r--r--usr.sbin/sysinstall/modules.c1
-rw-r--r--usr.sbin/wpa/ndis_events/ndis_events.c2
-rw-r--r--usr.sbin/wpa/wpa_supplicant/Packet32.c1
12 files changed, 0 insertions, 13 deletions
diff --git a/usr.sbin/ancontrol/ancontrol.c b/usr.sbin/ancontrol/ancontrol.c
index 008970d9b08e..4a114538a19f 100644
--- a/usr.sbin/ancontrol/ancontrol.c
+++ b/usr.sbin/ancontrol/ancontrol.c
@@ -40,7 +40,6 @@ static const char copyright[] = "@(#) Copyright (c) 1997, 1998, 1999\
__FBSDID("$FreeBSD$");
#include <sys/types.h>
-#include <sys/cdefs.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
diff --git a/usr.sbin/ifmcstat/ifmcstat.c b/usr.sbin/ifmcstat/ifmcstat.c
index e45e36d143c3..5ee432860d40 100644
--- a/usr.sbin/ifmcstat/ifmcstat.c
+++ b/usr.sbin/ifmcstat/ifmcstat.c
@@ -72,7 +72,6 @@ __FBSDID("$FreeBSD$");
#include <stddef.h>
#include <stdarg.h>
-#include <stdlib.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/usr.sbin/nfsd/nfsd.c b/usr.sbin/nfsd/nfsd.c
index 656cb143d179..c5cec5ead4f4 100644
--- a/usr.sbin/nfsd/nfsd.c
+++ b/usr.sbin/nfsd/nfsd.c
@@ -71,7 +71,6 @@ static const char rcsid[] =
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
-#include <netdb.h>
/* Global defs */
#ifdef DEBUG
diff --git a/usr.sbin/pmcstat/pmcpl_calltree.c b/usr.sbin/pmcstat/pmcpl_calltree.c
index c647a325a020..af3317a36def 100644
--- a/usr.sbin/pmcstat/pmcpl_calltree.c
+++ b/usr.sbin/pmcstat/pmcpl_calltree.c
@@ -46,7 +46,6 @@ __FBSDID("$FreeBSD$");
#include <fcntl.h>
#include <pmc.h>
#include <pmclog.h>
-#include <sysexits.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/usr.sbin/ppp/nat_cmd.c b/usr.sbin/ppp/nat_cmd.c
index 48f894aedc47..accb149315ce 100644
--- a/usr.sbin/ppp/nat_cmd.c
+++ b/usr.sbin/ppp/nat_cmd.c
@@ -32,7 +32,6 @@
#include <arpa/inet.h>
#include <netdb.h>
#include <netinet/in_systm.h>
-#include <netinet/in.h>
#include <netinet/ip.h>
#include <sys/socket.h>
#include <sys/un.h>
diff --git a/usr.sbin/rpc.yppasswdd/yppasswdd_main.c b/usr.sbin/rpc.yppasswdd/yppasswdd_main.c
index 8c8969165274..38719c4a5c1a 100644
--- a/usr.sbin/rpc.yppasswdd/yppasswdd_main.c
+++ b/usr.sbin/rpc.yppasswdd/yppasswdd_main.c
@@ -48,7 +48,6 @@ __FBSDID("$FreeBSD$");
#include <signal.h>
#include <stdio.h>
#include <stdlib.h> /* getenv, exit */
-#include <string.h>
#include <string.h> /* strcmp */
#include <syslog.h>
#include <unistd.h>
diff --git a/usr.sbin/rpc.ypupdated/update.c b/usr.sbin/rpc.ypupdated/update.c
index 72a7128beb21..956b057ac9c3 100644
--- a/usr.sbin/rpc.ypupdated/update.c
+++ b/usr.sbin/rpc.ypupdated/update.c
@@ -57,7 +57,6 @@ static const char rcsid[] =
#include <pwd.h>
#include <string.h>
#include <sys/resource.h>
-#include <stdlib.h>
#include "ypupdated_extern.h"
#ifdef YP
diff --git a/usr.sbin/rpc.ypupdated/ypupdated_main.c b/usr.sbin/rpc.ypupdated/ypupdated_main.c
index c13af7df4340..92d8374a7162 100644
--- a/usr.sbin/rpc.ypupdated/ypupdated_main.c
+++ b/usr.sbin/rpc.ypupdated/ypupdated_main.c
@@ -50,7 +50,6 @@ __FBSDID("$FreeBSD$");
#include <sys/wait.h>
#include <errno.h>
#include <err.h>
-#include <stdlib.h>
#include <unistd.h>
#include "ypupdated_extern.h"
#include "yp_extern.h"
diff --git a/usr.sbin/rpc.ypupdated/ypupdated_server.c b/usr.sbin/rpc.ypupdated/ypupdated_server.c
index c9a50dd36e0c..c4e163a50919 100644
--- a/usr.sbin/rpc.ypupdated/ypupdated_server.c
+++ b/usr.sbin/rpc.ypupdated/ypupdated_server.c
@@ -43,7 +43,6 @@ __FBSDID("$FreeBSD$");
#include <rpc/rpc.h>
#include <rpc/key_prot.h>
#include <sys/param.h>
-#include <sys/cdefs.h>
#include <rpcsvc/yp.h>
#include "ypupdate_prot.h"
#include "ypupdated_extern.h"
diff --git a/usr.sbin/sysinstall/modules.c b/usr.sbin/sysinstall/modules.c
index e9bdb0fe22e9..9c9875fa6b19 100644
--- a/usr.sbin/sysinstall/modules.c
+++ b/usr.sbin/sysinstall/modules.c
@@ -32,7 +32,6 @@
#include <sys/types.h>
#include <sys/param.h>
#include <sys/linker.h>
-#include <fcntl.h>
#include <dirent.h>
#include <fcntl.h>
#include <fnmatch.h>
diff --git a/usr.sbin/wpa/ndis_events/ndis_events.c b/usr.sbin/wpa/ndis_events/ndis_events.c
index e3cd9b5bda57..9c6e9def54a9 100644
--- a/usr.sbin/wpa/ndis_events/ndis_events.c
+++ b/usr.sbin/wpa/ndis_events/ndis_events.c
@@ -42,11 +42,9 @@ __FBSDID("$FreeBSD$");
*/
#include <sys/types.h>
-#include <sys/cdefs.h>
#include <sys/param.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
-#include <sys/socket.h>
#include <sys/errno.h>
#include <sys/sysctl.h>
#include <net/if.h>
diff --git a/usr.sbin/wpa/wpa_supplicant/Packet32.c b/usr.sbin/wpa/wpa_supplicant/Packet32.c
index 07da3590308e..876417e6635a 100644
--- a/usr.sbin/wpa/wpa_supplicant/Packet32.c
+++ b/usr.sbin/wpa/wpa_supplicant/Packet32.c
@@ -44,7 +44,6 @@ __FBSDID("$FreeBSD$");
#include <sys/param.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
-#include <sys/socket.h>
#include <sys/errno.h>
#include <sys/sysctl.h>
#include <sys/fcntl.h>