summaryrefslogtreecommitdiffstats
path: root/usr.sbin/identd
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2013-03-20 03:58:09 +0000
committerderaadt <deraadt@openbsd.org>2013-03-20 03:58:09 +0000
commit53ea35490d84e3826c4d0c5ed3b9d946d0d09013 (patch)
tree393e0942fffa14db2515cb6c4d3565dbe5e3f364 /usr.sbin/identd
parentWhen non-root asks sysctl for kinfo proc or file requests, do not fill in (diff)
downloadwireguard-openbsd-53ea35490d84e3826c4d0c5ed3b9d946d0d09013.tar.xz
wireguard-openbsd-53ea35490d84e3826c4d0c5ed3b9d946d0d09013.zip
7 #include which are not needed
Diffstat (limited to 'usr.sbin/identd')
-rw-r--r--usr.sbin/identd/identd.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/usr.sbin/identd/identd.c b/usr.sbin/identd/identd.c
index 4ad31f1249c..66664afc47c 100644
--- a/usr.sbin/identd/identd.c
+++ b/usr.sbin/identd/identd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: identd.c,v 1.7 2013/03/20 00:23:53 deraadt Exp $ */
+/* $OpenBSD: identd.c,v 1.8 2013/03/20 03:58:09 deraadt Exp $ */
/*
* Copyright (c) 2013 David Gwynne <dlg@openbsd.org>
@@ -16,35 +16,29 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include <sys/ioctl.h>
-#include <sys/param.h>
#include <sys/types.h>
-#include <sys/queue.h>
+#include <sys/ioctl.h>
#include <sys/socket.h>
#include <sys/socketvar.h>
#include <sys/sysctl.h>
#include <sys/uio.h>
#include <netinet/in.h>
-#include <netinet/in_systm.h>
#include <netinet/ip_var.h>
#include <netinet/tcp.h>
#include <netinet/tcp_timer.h>
#include <netinet/tcp_var.h>
-#include <arpa/inet.h>
#include <netdb.h>
#include <err.h>
#include <ctype.h>
#include <errno.h>
#include <event.h>
-#include <fcntl.h>
#include <pwd.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <stdarg.h>
#include <syslog.h>
#include <unistd.h>