summaryrefslogtreecommitdiff
path: root/usr.sbin/ldpd/packet.c
diff options
context:
space:
mode:
authorRenato Westphal <renato@cvs.openbsd.org>2016-05-23 19:11:43 +0000
committerRenato Westphal <renato@cvs.openbsd.org>2016-05-23 19:11:43 +0000
commitf2bfda3f3ebec0c592b59b83bb3a340dd450a814 (patch)
tree35b87933f2d80ff71c5bc0837d06c8d82663157c /usr.sbin/ldpd/packet.c
parent9a6be7cacb6639ebc04ff1c77d286ff2bfeab4ac (diff)
Remove superfluous includes.
Diffstat (limited to 'usr.sbin/ldpd/packet.c')
-rw-r--r--usr.sbin/ldpd/packet.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/usr.sbin/ldpd/packet.c b/usr.sbin/ldpd/packet.c
index e14f1a20e05..21411c1985a 100644
--- a/usr.sbin/ldpd/packet.c
+++ b/usr.sbin/ldpd/packet.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: packet.c,v 1.56 2016/05/23 19:09:25 renato Exp $ */
+/* $OpenBSD: packet.c,v 1.57 2016/05/23 19:11:42 renato Exp $ */
/*
* Copyright (c) 2009 Michele Marchetto <michele@openbsd.org>
@@ -18,26 +18,18 @@
*/
#include <sys/types.h>
-#include <sys/socket.h>
-#include <sys/uio.h>
-
#include <netinet/in.h>
-#include <netinet/ip.h>
#include <netinet/tcp.h>
#include <arpa/inet.h>
#include <net/if_dl.h>
-#include <fcntl.h>
#include <unistd.h>
-
#include <errno.h>
-#include <event.h>
#include <stdlib.h>
#include <string.h>
#include "ldpd.h"
-#include "ldp.h"
-#include "log.h"
#include "ldpe.h"
+#include "log.h"
static struct iface *disc_find_iface(unsigned int, int,
union ldpd_addr *, int);