summaryrefslogtreecommitdiffstats
path: root/usr.sbin/nscd
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2009-06-13 00:43:56 +0000
committerdes <des@FreeBSD.org>2009-06-13 00:43:56 +0000
commit34e7507e6557d5da72235440535bcab6a4c00028 (patch)
tree4a3c40776bb7608b28c2ec8a8708ee94465d981b /usr.sbin/nscd
parent79583448b47e888f628b66355bcedd14ac22ef39 (diff)
downloadFreeBSD-src-34e7507e6557d5da72235440535bcab6a4c00028.zip
FreeBSD-src-34e7507e6557d5da72235440535bcab6a4c00028.tar.gz
Further #include cleanup.
MFC after: 1 week
Diffstat (limited to 'usr.sbin/nscd')
-rw-r--r--usr.sbin/nscd/agent.c3
-rw-r--r--usr.sbin/nscd/agents/group.c7
-rw-r--r--usr.sbin/nscd/agents/passwd.c4
-rw-r--r--usr.sbin/nscd/agents/services.c7
-rw-r--r--usr.sbin/nscd/cachelib.c2
-rw-r--r--usr.sbin/nscd/debug.c1
-rw-r--r--usr.sbin/nscd/log.c1
-rw-r--r--usr.sbin/nscd/mp_ws_query.c7
-rw-r--r--usr.sbin/nscd/nscdcli.c4
-rw-r--r--usr.sbin/nscd/protocol.c1
10 files changed, 25 insertions, 12 deletions
diff --git a/usr.sbin/nscd/agent.c b/usr.sbin/nscd/agent.c
index d53c7ba..2102012 100644
--- a/usr.sbin/nscd/agent.c
+++ b/usr.sbin/nscd/agent.c
@@ -29,8 +29,9 @@
__FBSDID("$FreeBSD$");
#include <assert.h>
-#include <string.h>
#include <stdlib.h>
+#include <string.h>
+
#include "agent.h"
#include "debug.h"
diff --git a/usr.sbin/nscd/agents/group.c b/usr.sbin/nscd/agents/group.c
index 2ac0619..4b607ad 100644
--- a/usr.sbin/nscd/agents/group.c
+++ b/usr.sbin/nscd/agents/group.c
@@ -29,12 +29,13 @@
__FBSDID("$FreeBSD$");
#include <sys/param.h>
-#include <sys/types.h>
+
#include <assert.h>
-#include <nsswitch.h>
#include <grp.h>
-#include <string.h>
+#include <nsswitch.h>
#include <stdlib.h>
+#include <string.h>
+
#include "../debug.h"
#include "passwd.h"
diff --git a/usr.sbin/nscd/agents/passwd.c b/usr.sbin/nscd/agents/passwd.c
index 9039feb..fbc3e46 100644
--- a/usr.sbin/nscd/agents/passwd.c
+++ b/usr.sbin/nscd/agents/passwd.c
@@ -29,11 +29,13 @@
__FBSDID("$FreeBSD$");
#include <sys/types.h>
+
#include <assert.h>
#include <nsswitch.h>
#include <pwd.h>
-#include <string.h>
#include <stdlib.h>
+#include <string.h>
+
#include "../debug.h"
#include "passwd.h"
diff --git a/usr.sbin/nscd/agents/services.c b/usr.sbin/nscd/agents/services.c
index f1f52d0..d38675e 100644
--- a/usr.sbin/nscd/agents/services.c
+++ b/usr.sbin/nscd/agents/services.c
@@ -29,12 +29,13 @@
__FBSDID("$FreeBSD$");
#include <sys/param.h>
-#include <sys/types.h>
+
#include <assert.h>
-#include <nsswitch.h>
#include <netdb.h>
-#include <string.h>
+#include <nsswitch.h>
#include <stdlib.h>
+#include <string.h>
+
#include "../debug.h"
#include "services.h"
diff --git a/usr.sbin/nscd/cachelib.c b/usr.sbin/nscd/cachelib.c
index daa8193..27c34e2 100644
--- a/usr.sbin/nscd/cachelib.c
+++ b/usr.sbin/nscd/cachelib.c
@@ -29,9 +29,11 @@
__FBSDID("$FreeBSD$");
#include <sys/time.h>
+
#include <assert.h>
#include <stdlib.h>
#include <string.h>
+
#include "cachelib.h"
#include "debug.h"
diff --git a/usr.sbin/nscd/debug.c b/usr.sbin/nscd/debug.c
index 90d1c11..48130b4 100644
--- a/usr.sbin/nscd/debug.c
+++ b/usr.sbin/nscd/debug.c
@@ -29,6 +29,7 @@
__FBSDID("$FreeBSD$");
#include <stdio.h>
+
#include "debug.h"
static int trace_level = 0;
diff --git a/usr.sbin/nscd/log.c b/usr.sbin/nscd/log.c
index adfc5bf..5f4c578 100644
--- a/usr.sbin/nscd/log.c
+++ b/usr.sbin/nscd/log.c
@@ -33,6 +33,7 @@ __FBSDID("$FreeBSD$");
#include <stdio.h>
#include <stdlib.h>
#include <syslog.h>
+
#include "log.h"
void
diff --git a/usr.sbin/nscd/mp_ws_query.c b/usr.sbin/nscd/mp_ws_query.c
index f5c889b..ca4433a 100644
--- a/usr.sbin/nscd/mp_ws_query.c
+++ b/usr.sbin/nscd/mp_ws_query.c
@@ -28,15 +28,16 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#include <sys/socket.h>
-#include <sys/time.h>
#include <sys/types.h>
#include <sys/event.h>
+#include <sys/socket.h>
+#include <sys/time.h>
+
#include <assert.h>
#include <errno.h>
+#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <stdio.h>
#include "cachelib.h"
#include "config.h"
diff --git a/usr.sbin/nscd/nscdcli.c b/usr.sbin/nscd/nscdcli.c
index 3b6996d..3ea4659 100644
--- a/usr.sbin/nscd/nscdcli.c
+++ b/usr.sbin/nscd/nscdcli.c
@@ -29,10 +29,12 @@
__FBSDID("$FreeBSD$");
#include <sys/types.h>
-#include <sys/socket.h>
+
#include <sys/event.h>
+#include <sys/socket.h>
#include <sys/uio.h>
#include <sys/un.h>
+
#include <assert.h>
#include <errno.h>
#include <fcntl.h>
diff --git a/usr.sbin/nscd/protocol.c b/usr.sbin/nscd/protocol.c
index 08cea92..3e40739 100644
--- a/usr.sbin/nscd/protocol.c
+++ b/usr.sbin/nscd/protocol.c
@@ -31,6 +31,7 @@ __FBSDID("$FreeBSD$");
#include <assert.h>
#include <stdlib.h>
#include <string.h>
+
#include "debug.h"
#include "log.h"
#include "protocol.h"
OpenPOWER on IntegriCloud