summaryrefslogtreecommitdiff
path: root/networking/libiproute/ipaddress.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/ipaddress.c
parent1e132dd4dd0c2db7952bf0447bf1eff1f557f288 (diff)
downloadbusybox-275be87be71dab9b00a67bd5010f8acf7255ce04.zip
busybox-275be87be71dab9b00a67bd5010f8acf7255ce04.tar.gz
Only included headers that are used.
Diffstat (limited to 'networking/libiproute/ipaddress.c')
-rw-r--r--networking/libiproute/ipaddress.c21
1 files changed, 7 insertions, 14 deletions
diff --git a/networking/libiproute/ipaddress.c b/networking/libiproute/ipaddress.c
index 6bba6e0..2821f2e 100644
--- a/networking/libiproute/ipaddress.c
+++ b/networking/libiproute/ipaddress.c
@@ -12,31 +12,24 @@
* Laszlo Valko <valko@linux.karinthy.hu> 990223: address label must be zero terminated
*/
-#include <stdio.h>
-#include <stdlib.h>
-#include <unistd.h>
-#include <syslog.h>
-#include <fcntl.h>
-#include <sys/ioctl.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
-#include <netinet/in.h>
-#include <arpa/inet.h>
-#include <string.h>
+
#include <fnmatch.h>
+#include <stdlib.h>
+#include <string.h>
+#include <unistd.h>
+
+#include <arpa/inet.h>
#define sysinfo kernel_sysinfo
-#include <linux/netdevice.h>
#include <linux/if_arp.h>
-#include <linux/sockios.h>
#undef sysinfo
#include "rt_names.h"
#include "utils.h"
-#include "ll_map.h"
-#include "ip_common.h"
-#include "busybox.h"
+#include "libbb.h"
static struct
{