diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2016-02-06 19:30:53 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2016-02-06 19:30:53 +0000 |
commit | 8ef2fa9bbd914f2f092dc28bb985d3ac8b159b2f (patch) | |
tree | d2daead8d38572189c984432fa38cf831f65bb61 /sbin/dhclient/dhcpd.h | |
parent | 25796b12bea3a4fb5215b57ba66ef7a99ea06e39 (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 'sbin/dhclient/dhcpd.h')
-rw-r--r-- | sbin/dhclient/dhcpd.h | 35 |
1 files changed, 1 insertions, 34 deletions
diff --git a/sbin/dhclient/dhcpd.h b/sbin/dhclient/dhcpd.h index ee0d97cf65d..d47674254a7 100644 --- a/sbin/dhclient/dhcpd.h +++ b/sbin/dhclient/dhcpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: dhcpd.h,v 1.153 2015/12/12 14:48:17 krw Exp $ */ +/* $OpenBSD: dhcpd.h,v 1.154 2016/02/06 19:30:52 krw Exp $ */ /* * Copyright (c) 2004 Henning Brauer <henning@openbsd.org> @@ -39,39 +39,6 @@ * Enterprises, see ``http://www.vix.com''. */ -#include <sys/types.h> -#include <sys/socket.h> -#include <sys/sockio.h> -#include <sys/stat.h> -#include <sys/time.h> -#include <sys/wait.h> -#include <sys/queue.h> - -#include <net/if.h> -#include <net/if_dl.h> -#include <net/route.h> - -#include <netinet/in.h> -#include <netinet/if_ether.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 <signal.h> -#include <syslog.h> -#include <time.h> -#include <unistd.h> - -#include "dhcp.h" - #define LOCAL_PORT 68 #define REMOTE_PORT 67 #define INTERNALSIG INT_MAX |