diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-05-31 22:42:12 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-05-31 22:42:12 +0000 |
commit | 9a7d38fe2448617df98ecaea7dbe6f3131088586 (patch) | |
tree | 5966d651dcb5588e24106791f9cd3647f358112b /networking/libiproute/iprule.c | |
parent | fad2b86c9e7eaadb973b50a1bc0e2accc1a96cfd (diff) | |
download | busybox-w32-9a7d38fe2448617df98ecaea7dbe6f3131088586.tar.gz busybox-w32-9a7d38fe2448617df98ecaea7dbe6f3131088586.tar.bz2 busybox-w32-9a7d38fe2448617df98ecaea7dbe6f3131088586.zip |
delete tons of extra #includes
Diffstat (limited to 'networking/libiproute/iprule.c')
-rw-r--r-- | networking/libiproute/iprule.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/networking/libiproute/iprule.c b/networking/libiproute/iprule.c index 0499a0994..e2e96f023 100644 --- a/networking/libiproute/iprule.c +++ b/networking/libiproute/iprule.c | |||
@@ -16,16 +16,16 @@ | |||
16 | * initially integrated into busybox by Bernhard Fischer | 16 | * initially integrated into busybox by Bernhard Fischer |
17 | */ | 17 | */ |
18 | 18 | ||
19 | #include "libbb.h" | ||
20 | #include <syslog.h> | 19 | #include <syslog.h> |
21 | #include <sys/socket.h> | 20 | //#include <sys/socket.h> |
22 | #include <netinet/in.h> | 21 | #include <netinet/in.h> |
23 | #include <netinet/ip.h> | 22 | #include <netinet/ip.h> |
24 | #include <arpa/inet.h> | 23 | #include <arpa/inet.h> |
25 | 24 | ||
25 | #include "ip_common.h" /* #include "libbb.h" is inside */ | ||
26 | #include "rt_names.h" | 26 | #include "rt_names.h" |
27 | #include "utils.h" | 27 | #include "utils.h" |
28 | #include "ip_common.h" | 28 | |
29 | /* | 29 | /* |
30 | static void usage(void) __attribute__((noreturn)); | 30 | static void usage(void) __attribute__((noreturn)); |
31 | 31 | ||
@@ -41,6 +41,7 @@ static void usage(void) | |||
41 | exit(-1); | 41 | exit(-1); |
42 | } | 42 | } |
43 | */ | 43 | */ |
44 | |||
44 | static int print_rule(struct sockaddr_nl *who ATTRIBUTE_UNUSED, | 45 | static int print_rule(struct sockaddr_nl *who ATTRIBUTE_UNUSED, |
45 | struct nlmsghdr *n, void *arg) | 46 | struct nlmsghdr *n, void *arg) |
46 | { | 47 | { |