summaryrefslogtreecommitdiff
path: root/usr.sbin/dhcpd/dhcpd.h
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2016-02-06 23:50:11 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2016-02-06 23:50:11 +0000
commitb6249db2d7089ab71bae1b8aea3a0399482e4c41 (patch)
treee64685766291fdb65a0994af64d3ef49e80280ad /usr.sbin/dhcpd/dhcpd.h
parent8ef2fa9bbd914f2f092dc28bb985d3ac8b159b2f (diff)
Eliminate #include inside *.h files and include only needed headers in
each *.c file. Inspired by mention of header silliness by Edgar Pettijohn and mmcc@ on tech@.
Diffstat (limited to 'usr.sbin/dhcpd/dhcpd.h')
-rw-r--r--usr.sbin/dhcpd/dhcpd.h33
1 files changed, 1 insertions, 32 deletions
diff --git a/usr.sbin/dhcpd/dhcpd.h b/usr.sbin/dhcpd/dhcpd.h
index 87323ce01cd..4cc611d4283 100644
--- a/usr.sbin/dhcpd/dhcpd.h
+++ b/usr.sbin/dhcpd/dhcpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: dhcpd.h,v 1.52 2014/07/11 16:48:29 yasuoka Exp $ */
+/* $OpenBSD: dhcpd.h,v 1.53 2016/02/06 23:50:10 krw Exp $ */
/*
* Copyright (c) 1995, 1996, 1997, 1998, 1999
@@ -38,42 +38,11 @@
* Enterprises, see ``http://www.vix.com''.
*/
-#include <sys/types.h>
-#include <sys/socket.h>
-#include <sys/stat.h>
-#include <sys/wait.h>
-#include <sys/sockio.h>
-#include <sys/time.h>
-
-#include <net/if.h>
-#include <net/if_dl.h>
-#include <net/route.h>
-
-#include <netinet/in.h>
-#include <arpa/inet.h>
-
-#include <ctype.h>
-#include <errno.h>
-#include <fcntl.h>
-#include <limits.h>
-#include <netdb.h>
-#include <paths.h>
-#include <stdarg.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <syslog.h>
-#include <time.h>
-#include <unistd.h>
-
#define ifr_netmask ifr_addr
#define HAVE_SA_LEN
#define HAVE_MKSTEMP
-#include "dhcp.h"
-#include "tree.h"
-
#define DB_TIMEFMT "%w %Y/%m/%d %T UTC"
#define OLD_DB_TIMEFMT "%w %Y/%m/%d %T"