summaryrefslogtreecommitdiff
path: root/networking/libiproute/iplink.c
diff options
context:
space:
mode:
authorGlenn L McGrath2002-12-16 07:37:21 +0000
committerGlenn L McGrath2002-12-16 07:37:21 +0000
commit275be87be71dab9b00a67bd5010f8acf7255ce04 (patch)
tree2272ba327e20cf1b639235641693edc1eccf1cb1 /networking/libiproute/iplink.c
parent1e132dd4dd0c2db7952bf0447bf1eff1f557f288 (diff)
downloadbusybox-275be87be71dab9b00a67bd5010f8acf7255ce04.zip
busybox-275be87be71dab9b00a67bd5010f8acf7255ce04.tar.gz
Only included headers that are used.
Diffstat (limited to 'networking/libiproute/iplink.c')
-rw-r--r--networking/libiproute/iplink.c18
1 files changed, 7 insertions, 11 deletions
diff --git a/networking/libiproute/iplink.c b/networking/libiproute/iplink.c
index 33f3891..ef4d6b9 100644
--- a/networking/libiproute/iplink.c
+++ b/networking/libiproute/iplink.c
@@ -10,28 +10,24 @@
*
*/
-#include <stdio.h>
+#include <sys/ioctl.h>
+#include <sys/socket.h>
+
+#include <errno.h>
#include <stdlib.h>
+#include <string.h>
#include <unistd.h>
-#include <syslog.h>
-#include <fcntl.h>
-#include <errno.h>
-#include <sys/socket.h>
+
#include <linux/if.h>
#include <linux/if_packet.h>
#include <linux/if_ether.h>
#include <linux/sockios.h>
-#include <netinet/in.h>
-#include <arpa/inet.h>
-#include <string.h>
-#include <sys/ioctl.h>
-#include <linux/sockios.h>
#include "rt_names.h"
#include "utils.h"
#include "ip_common.h"
-#include "busybox.h"
+#include "libbb.h"
static int do_link;