Date: Sat, 13 Jun 2009 00:06:52 +0000 (UTC) From: Dag-Erling Smorgrav <des@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r194089 - head/usr.sbin/nscd Message-ID: <200906130006.n5D06qkb097104@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: des Date: Sat Jun 13 00:06:52 2009 New Revision: 194089 URL: http://svn.freebsd.org/changeset/base/194089 Log: #include cleanup MFC after: 1 week Modified: head/usr.sbin/nscd/cachelib.h head/usr.sbin/nscd/cacheplcs.c head/usr.sbin/nscd/cacheplcs.h head/usr.sbin/nscd/config.c head/usr.sbin/nscd/config.h head/usr.sbin/nscd/hashtable.h head/usr.sbin/nscd/mp_rs_query.c head/usr.sbin/nscd/nscd.c head/usr.sbin/nscd/parser.c head/usr.sbin/nscd/protocol.h head/usr.sbin/nscd/query.c head/usr.sbin/nscd/query.h head/usr.sbin/nscd/singletons.c Modified: head/usr.sbin/nscd/cachelib.h ============================================================================== --- head/usr.sbin/nscd/cachelib.h Fri Jun 12 23:43:19 2009 (r194088) +++ head/usr.sbin/nscd/cachelib.h Sat Jun 13 00:06:52 2009 (r194089) @@ -29,9 +29,6 @@ #ifndef __NSCD_CACHELIB_H__ #define __NSCD_CACHELIB_H__ -#include <sys/queue.h> -#include <sys/time.h> -#include <stdlib.h> #include "hashtable.h" #include "cacheplcs.h" Modified: head/usr.sbin/nscd/cacheplcs.c ============================================================================== --- head/usr.sbin/nscd/cacheplcs.c Fri Jun 12 23:43:19 2009 (r194088) +++ head/usr.sbin/nscd/cacheplcs.c Sat Jun 13 00:06:52 2009 (r194089) @@ -28,8 +28,12 @@ #include <sys/cdefs.h> __FBSDID("$FreeBSD$"); +#include <sys/time.h> + #include <assert.h> +#include <stdlib.h> #include <string.h> + #include "cacheplcs.h" #include "debug.h" Modified: head/usr.sbin/nscd/cacheplcs.h ============================================================================== --- head/usr.sbin/nscd/cacheplcs.h Fri Jun 12 23:43:19 2009 (r194088) +++ head/usr.sbin/nscd/cacheplcs.h Sat Jun 13 00:06:52 2009 (r194089) @@ -30,8 +30,6 @@ #define __NSCD_CACHEPLCS_H__ #include <sys/queue.h> -#include <sys/time.h> -#include <stdlib.h> /* common policy definitions */ #define CACHELIB_MAX_FREQUENCY 100 Modified: head/usr.sbin/nscd/config.c ============================================================================== --- head/usr.sbin/nscd/config.c Fri Jun 12 23:43:19 2009 (r194088) +++ head/usr.sbin/nscd/config.c Sat Jun 13 00:06:52 2009 (r194089) @@ -28,11 +28,17 @@ #include <sys/cdefs.h> __FBSDID("$FreeBSD$"); +#include <sys/stat.h> +#include <sys/time.h> + #include <assert.h> #include <math.h> +#include <nsswitch.h> +#include <pthread.h> #include <stdio.h> #include <stdlib.h> #include <string.h> + #include "config.h" #include "debug.h" #include "log.h" Modified: head/usr.sbin/nscd/config.h ============================================================================== --- head/usr.sbin/nscd/config.h Fri Jun 12 23:43:19 2009 (r194088) +++ head/usr.sbin/nscd/config.h Sat Jun 13 00:06:52 2009 (r194089) @@ -29,11 +29,6 @@ #ifndef __NSCD_CONFIG_H__ #define __NSCD_CONFIG_H__ -#include <sys/stat.h> -#include <sys/types.h> -#include <pthread.h> -#include <nsswitch.h> -#include <unistd.h> #include "cachelib.h" #define DEFAULT_QUERY_TIMEOUT 8 Modified: head/usr.sbin/nscd/hashtable.h ============================================================================== --- head/usr.sbin/nscd/hashtable.h Fri Jun 12 23:43:19 2009 (r194088) +++ head/usr.sbin/nscd/hashtable.h Sat Jun 13 00:06:52 2009 (r194089) @@ -29,7 +29,6 @@ #ifndef __CACHELIB_HASHTABLE_H__ #define __CACHELIB_HASHTABLE_H__ -#include <search.h> #include <string.h> #define HASHTABLE_INITIAL_ENTRIES_CAPACITY 8 Modified: head/usr.sbin/nscd/mp_rs_query.c ============================================================================== --- head/usr.sbin/nscd/mp_rs_query.c Fri Jun 12 23:43:19 2009 (r194088) +++ head/usr.sbin/nscd/mp_rs_query.c Sat Jun 13 00:06:52 2009 (r194089) @@ -28,15 +28,17 @@ #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 <nsswitch.h> +#include <stdio.h> #include <stdlib.h> #include <string.h> -#include <stdio.h> #include "cachelib.h" #include "config.h" Modified: head/usr.sbin/nscd/nscd.c ============================================================================== --- head/usr.sbin/nscd/nscd.c Fri Jun 12 23:43:19 2009 (r194088) +++ head/usr.sbin/nscd/nscd.c Sat Jun 13 00:06:52 2009 (r194089) @@ -28,12 +28,13 @@ #include <sys/cdefs.h> __FBSDID("$FreeBSD$"); -#include <sys/types.h> +#include <sys/param.h> #include <sys/event.h> #include <sys/socket.h> +#include <sys/stat.h> #include <sys/time.h> -#include <sys/param.h> #include <sys/un.h> + #include <assert.h> #include <err.h> #include <errno.h> Modified: head/usr.sbin/nscd/parser.c ============================================================================== --- head/usr.sbin/nscd/parser.c Fri Jun 12 23:43:19 2009 (r194088) +++ head/usr.sbin/nscd/parser.c Sat Jun 13 00:06:52 2009 (r194089) @@ -28,9 +28,13 @@ #include <sys/cdefs.h> __FBSDID("$FreeBSD$"); +#include <sys/time.h> + #include <assert.h> #include <stdio.h> +#include <stdlib.h> #include <string.h> + #include "config.h" #include "debug.h" #include "log.h" Modified: head/usr.sbin/nscd/protocol.h ============================================================================== --- head/usr.sbin/nscd/protocol.h Fri Jun 12 23:43:19 2009 (r194088) +++ head/usr.sbin/nscd/protocol.h Sat Jun 13 00:06:52 2009 (r194089) @@ -29,8 +29,6 @@ #ifndef __NSCD_PROTOCOL_H__ #define __NSCD_PROTOCOL_H__ -#include <stdlib.h> - /* maximum buffer size to receive - larger buffers are not allowed */ #define MAX_BUFFER_SIZE (1 << 20) Modified: head/usr.sbin/nscd/query.c ============================================================================== --- head/usr.sbin/nscd/query.c Fri Jun 12 23:43:19 2009 (r194088) +++ head/usr.sbin/nscd/query.c Sat Jun 13 00:06:52 2009 (r194089) @@ -29,15 +29,18 @@ __FBSDID("$FreeBSD$"); #include <sys/types.h> +#include <sys/event.h> #include <sys/socket.h> #include <sys/time.h> -#include <sys/event.h> + #include <assert.h> #include <errno.h> #include <nsswitch.h> #include <stdio.h> #include <stdlib.h> #include <string.h> +#include <unistd.h> + #include "config.h" #include "debug.h" #include "query.h" Modified: head/usr.sbin/nscd/query.h ============================================================================== --- head/usr.sbin/nscd/query.h Fri Jun 12 23:43:19 2009 (r194088) +++ head/usr.sbin/nscd/query.h Sat Jun 13 00:06:52 2009 (r194089) @@ -29,9 +29,6 @@ #ifndef __NSCD_QUERY_H__ #define __NSCD_QUERY_H__ -#include <sys/types.h> -#include <stdlib.h> -#include <unistd.h> #include "cachelib.h" #include "config.h" #include "protocol.h" Modified: head/usr.sbin/nscd/singletons.c ============================================================================== --- head/usr.sbin/nscd/singletons.c Fri Jun 12 23:43:19 2009 (r194088) +++ head/usr.sbin/nscd/singletons.c Sat Jun 13 00:06:52 2009 (r194089) @@ -28,6 +28,8 @@ #include <sys/cdefs.h> __FBSDID("$FreeBSD$"); +#include <sys/time.h> + #include "singletons.h" struct configuration *s_configuration = NULL;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906130006.n5D06qkb097104>