diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-07-29 10:16:05 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-07-29 10:16:05 +0000 |
commit | dadfb4975b23b284fa02d15a5cfd21593b2993fc (patch) | |
tree | 993a6e7a9efd1d2a06408d9cd069cb4eeb09e883 /networking | |
parent | e1ee48e0fdfe18aadb410b62f21516bf4b8ea581 (diff) | |
download | busybox-w32-dadfb4975b23b284fa02d15a5cfd21593b2993fc.tar.gz busybox-w32-dadfb4975b23b284fa02d15a5cfd21593b2993fc.tar.bz2 busybox-w32-dadfb4975b23b284fa02d15a5cfd21593b2993fc.zip |
hush: add #defines to switch off break/continue if loops are not supported
*: remove a few inline keywords
no code changes
Diffstat (limited to 'networking')
-rw-r--r-- | networking/interface.c | 2 | ||||
-rw-r--r-- | networking/traceroute.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/networking/interface.c b/networking/interface.c index 065b4baeb..7861b9fd9 100644 --- a/networking/interface.c +++ b/networking/interface.c | |||
@@ -498,7 +498,7 @@ static void get_dev_fields(char *bp, struct interface *ife, int procnetdev_vsn) | |||
498 | } | 498 | } |
499 | } | 499 | } |
500 | 500 | ||
501 | static inline int procnetdev_version(char *buf) | 501 | static int procnetdev_version(char *buf) |
502 | { | 502 | { |
503 | if (strstr(buf, "compressed")) | 503 | if (strstr(buf, "compressed")) |
504 | return 2; | 504 | return 2; |
diff --git a/networking/traceroute.c b/networking/traceroute.c index 4e6ca2d9b..29cebfa61 100644 --- a/networking/traceroute.c +++ b/networking/traceroute.c | |||
@@ -819,7 +819,7 @@ packet_ok(unsigned char *buf, int cc, struct sockaddr_in *from, int seq) | |||
819 | * If the nflag has been supplied, give | 819 | * If the nflag has been supplied, give |
820 | * numeric value, otherwise try for symbolic name. | 820 | * numeric value, otherwise try for symbolic name. |
821 | */ | 821 | */ |
822 | static inline void | 822 | static void |
823 | print_inetname(struct sockaddr_in *from) | 823 | print_inetname(struct sockaddr_in *from) |
824 | { | 824 | { |
825 | const char *ina; | 825 | const char *ina; |
@@ -836,7 +836,7 @@ print_inetname(struct sockaddr_in *from) | |||
836 | } | 836 | } |
837 | } | 837 | } |
838 | 838 | ||
839 | static inline void | 839 | static void |
840 | print(unsigned char *buf, int cc, struct sockaddr_in *from) | 840 | print(unsigned char *buf, int cc, struct sockaddr_in *from) |
841 | { | 841 | { |
842 | struct ip *ip; | 842 | struct ip *ip; |