summaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
authorDenis Vlasenko2008-07-29 10:16:05 +0000
committerDenis Vlasenko2008-07-29 10:16:05 +0000
commitdadfb4975b23b284fa02d15a5cfd21593b2993fc (patch)
tree993a6e7a9efd1d2a06408d9cd069cb4eeb09e883 /networking
parente1ee48e0fdfe18aadb410b62f21516bf4b8ea581 (diff)
downloadbusybox-dadfb4975b23b284fa02d15a5cfd21593b2993fc.zip
busybox-dadfb4975b23b284fa02d15a5cfd21593b2993fc.tar.gz
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.c2
-rw-r--r--networking/traceroute.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/networking/interface.c b/networking/interface.c
index 065b4ba..7861b9f 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)
}
}
-static inline int procnetdev_version(char *buf)
+static int procnetdev_version(char *buf)
{
if (strstr(buf, "compressed"))
return 2;
diff --git a/networking/traceroute.c b/networking/traceroute.c
index 4e6ca2d..29cebfa 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)
* If the nflag has been supplied, give
* numeric value, otherwise try for symbolic name.
*/
-static inline void
+static void
print_inetname(struct sockaddr_in *from)
{
const char *ina;
@@ -836,7 +836,7 @@ print_inetname(struct sockaddr_in *from)
}
}
-static inline void
+static void
print(unsigned char *buf, int cc, struct sockaddr_in *from)
{
struct ip *ip;