Only included headers that are used.
authorGlenn L McGrath <bug1@ihug.co.nz>
Mon, 16 Dec 2002 07:37:21 +0000 (07:37 -0000)
committerGlenn L McGrath <bug1@ihug.co.nz>
Mon, 16 Dec 2002 07:37:21 +0000 (07:37 -0000)
12 files changed:
networking/libiproute/ipaddress.c
networking/libiproute/iplink.c
networking/libiproute/iproute.c
networking/libiproute/iptunnel.c
networking/libiproute/libnetlink.c
networking/libiproute/ll_addr.c
networking/libiproute/ll_map.c
networking/libiproute/ll_proto.c
networking/libiproute/ll_types.c
networking/libiproute/rt_names.c
networking/libiproute/rtm_map.c
networking/libiproute/utils.c

index 6bba6e077edad75fee654f75501e3dc6d59c1295..2821f2e8d6dcba84ab5498842d63d96f07b6fb09 100644 (file)
  *     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
 {
index 33f38918a8b76874accec76d0f7e883ac9138ddf..ef4d6b9a5ca64f0b60a24253f6f0a142e508d70e 100644 (file)
  *
  */
 
-#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;
 
index f29a5158a823a9dd0652a97abcc891e0e13bd712..114fb6c9036dc8e6173fb48706108ff1712819bf 100644 (file)
  * Kunihiro Ishiguro <kunihiro@zebra.org> 001102: rtnh_ifindex was not initialized
  */
 
-#include <stdio.h>
+#include <sys/socket.h>
+
 #include <stdlib.h>
-#include <unistd.h>
-#include <syslog.h>
-#include <fcntl.h>
 #include <string.h>
-#include <sys/time.h>
-#include <sys/socket.h>
-#include <netinet/in.h>
-#include <netinet/ip.h>
-#include <arpa/inet.h>
-#include <linux/in_route.h>
 
 #include "rt_names.h"
 #include "utils.h"
 
-#include "busybox.h"
+#include "libbb.h"
 
 #ifndef RTAX_RTTVAR
 #define RTAX_RTTVAR RTAX_HOPS
index 58ec7cce67f07d27aa7986e4a72255202e4913fe..3d73ca81c366126f801d16ae88ec6ef7ee628b9b 100644 (file)
  * Phil Karn <karn@ka9q.ampr.org>      990408: "pmtudisc" flag
  */
 
-#include <stdio.h>
+#include <sys/socket.h>
+#include <sys/ioctl.h>
+
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
-#include <syslog.h>
-#include <fcntl.h>
-#include <sys/socket.h>
-#include <sys/ioctl.h>
-#include <netinet/in.h>
-#include <netinet/ip.h>
+
 #include <arpa/inet.h>
+#include <netinet/ip.h>
 
-#include <linux/if.h>
 #include <linux/if_arp.h>
 #include <linux/if_tunnel.h>
 
 #include "rt_names.h"
 #include "utils.h"
 
-#include "busybox.h"
+#include "libbb.h"
 
 static int do_ioctl_get_ifindex(char *dev)
 {
index 99672382aa1c887f43b0af07a26b7089af5445d8..fbc555dfee59524d8551495144ef8801ca7fdb56 100644 (file)
  *
  */
 
-#include <stdio.h>
-#include <stdlib.h>
-#include <unistd.h>
-#include <syslog.h>
-#include <fcntl.h>
-#include <net/if_arp.h>
 #include <sys/socket.h>
-#include <netinet/in.h>
-#include <string.h>
+
 #include <errno.h>
+#include <stdio.h>
+#include <string.h>
 #include <time.h>
-#include <sys/uio.h>
+#include <unistd.h>
 
 #include "libnetlink.h"
 #include "libbb.h"
index 19b31366c894c4bbc86159f9362533463eab75be..551484cf645a082b80e47e21f9848229d590665b 100644 (file)
@@ -9,21 +9,10 @@
  * Authors:    Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>
  */
 
-#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 <linux/netdevice.h>
 #include <linux/if_arp.h>
-#include <linux/sockios.h>
 
 #include "utils.h"
 #include "libbb.h"
index e5a95e6a4fa09a0289b358d4b118a3213297389c..b7a82842122b2f6a12fa447baf07b1ccc93dacdf 100644 (file)
  */
 
 #include <stdio.h>
+#include <string.h>
 #include <stdlib.h>
-#include <unistd.h>
-#include <syslog.h>
-#include <fcntl.h>
-#include <sys/socket.h>
 #include <netinet/in.h>
-#include <string.h>
 
 #include "libnetlink.h"
-#include "ll_map.h"
 
 struct idxmap
 {
index 394338aea7253736461ca77a8015ca761f2f6552..d7b1dedfce204946cf3cd4d84652775c7e207dc6 100644 (file)
  */
 
 #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 <linux/netdevice.h>
 #include <linux/if_arp.h>
-#include <linux/sockios.h>
 
 #include "utils.h"
 
index f14583634a12b9041d435a1b429e7b93e5caca44..925d60ddc0020d5cb7748b53ae9e630763014020 100644 (file)
@@ -8,22 +8,10 @@
  *
  * Authors:    Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>
  */
-
 #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 <linux/netdevice.h>
 #include <linux/if_arp.h>
-#include <linux/sockios.h>
 
 char * ll_type_n2a(int type, char *buf, int len)
 {
index 2a7d85cdb2be0b311772338d0119087737700372..d503645b0b934caceede1cadea225bf1e4ac4589 100644 (file)
@@ -8,14 +8,10 @@
  *
  * Authors:    Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>
  */
-
 #include <stdio.h>
 #include <stdlib.h>
-#include <unistd.h>
-#include <syslog.h>
-#include <fcntl.h>
 #include <string.h>
-#include <sys/time.h>
+
 #include <stdint.h>
 
 static void rtnl_tab_initialize(char *file, char **tab, int size)
index 21e818b4adca795f8eca27f64d63274cc8493778..5f6a9e69c8e1754485ec5eaf890f1c44cbf4f134 100644 (file)
  *
  */
 
-#include <stdio.h>
 #include <stdlib.h>
-#include <unistd.h>
-#include <syslog.h>
-#include <fcntl.h>
 #include <string.h>
-#include <sys/socket.h>
-#include <netinet/in.h>
 
 #include "rt_names.h"
 #include "utils.h"
index 9ae21b464b0ef7c57939cc78b6b8f2c4d40ef0e9..63084e15e8bd316910979107229fb2d8c0712f17 100644 (file)
  * Rani Assaf <rani@magic.metawire.com> 980929:        resolve addresses
  */
 
-#include <stdio.h>
 #include <stdlib.h>
-#include <unistd.h>
-#include <syslog.h>
-#include <fcntl.h>
-#include <sys/socket.h>
-#include <netinet/in.h>
 #include <string.h>
-#include <netdb.h>
 #include <arpa/inet.h>
-#include <resolv.h>
 
-#include "./linux/pkt_sched.h"
 #include "utils.h"
 #include "libbb.h"