summaryrefslogtreecommitdiff
path: root/usr.sbin/relayd/name2id.c
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2015-01-22 17:42:10 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2015-01-22 17:42:10 +0000
commitdc1408e1d4913455188e3bdc0400f7185e47b804 (patch)
tree79d42cd584950392284b9557426083f5e2a9ec80 /usr.sbin/relayd/name2id.c
parentcafa5bb29acce74dab3a0eeac84ff06ff6db2734 (diff)
Clean up the relayd headers with help of include-what-you-use and some
manual review. Based on common practice, relayd.h now includes the necessary headers for itself. OK benno@
Diffstat (limited to 'usr.sbin/relayd/name2id.c')
-rw-r--r--usr.sbin/relayd/name2id.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/usr.sbin/relayd/name2id.c b/usr.sbin/relayd/name2id.c
index 4009fc6488b..e4220c55fd7 100644
--- a/usr.sbin/relayd/name2id.c
+++ b/usr.sbin/relayd/name2id.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: name2id.c,v 1.3 2014/07/09 16:42:05 reyk Exp $ */
+/* $OpenBSD: name2id.c,v 1.4 2015/01/22 17:42:09 reyk Exp $ */
/*
* Copyright (c) 2004, 2005 Henning Brauer <henning@openbsd.org>
@@ -17,17 +17,11 @@
*/
#include <sys/types.h>
-#include <sys/socket.h>
#include <sys/queue.h>
-#include <net/if.h>
-
-#include <errno.h>
#include <stdlib.h>
#include <string.h>
-#include <event.h>
-
-#include <openssl/ssl.h>
+#include <errno.h>
#include "relayd.h"