diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-11-27 16:49:55 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-11-27 16:49:55 +0000 |
commit | d9e15f206840219bb0f39c912a42fdcf8cbcaed6 (patch) | |
tree | ffdef7f5ab4a33038d0a62c9355b48f362aa463e /networking | |
parent | 079f8afa0a16112cbaf7012c82b38b7358b82141 (diff) | |
download | busybox-w32-d9e15f206840219bb0f39c912a42fdcf8cbcaed6.tar.gz busybox-w32-d9e15f206840219bb0f39c912a42fdcf8cbcaed6.tar.bz2 busybox-w32-d9e15f206840219bb0f39c912a42fdcf8cbcaed6.zip |
style cleanup: return(a) -> return a, part 2
Diffstat (limited to 'networking')
-rw-r--r-- | networking/ifconfig.c | 2 | ||||
-rw-r--r-- | networking/ping.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/networking/ifconfig.c b/networking/ifconfig.c index d28ca22c5..ae5b468ce 100644 --- a/networking/ifconfig.c +++ b/networking/ifconfig.c | |||
@@ -543,6 +543,6 @@ static int in_ether(const char *bufp, struct sockaddr *sap) | |||
543 | *ptr++ = val; | 543 | *ptr++ = val; |
544 | } while (++i < ETH_ALEN); | 544 | } while (++i < ETH_ALEN); |
545 | 545 | ||
546 | return (int) (*bufp); /* Error if we don't end at end of string. */ | 546 | return *bufp; /* Error if we don't end at end of string. */ |
547 | } | 547 | } |
548 | #endif | 548 | #endif |
diff --git a/networking/ping.c b/networking/ping.c index fc01b5e1d..658c01518 100644 --- a/networking/ping.c +++ b/networking/ping.c | |||
@@ -65,7 +65,7 @@ static int in_cksum(unsigned short *buf, int sz) | |||
65 | sum = (sum >> 16) + (sum & 0xFFFF); | 65 | sum = (sum >> 16) + (sum & 0xFFFF); |
66 | sum += (sum >> 16); | 66 | sum += (sum >> 16); |
67 | ans = ~sum; | 67 | ans = ~sum; |
68 | return (ans); | 68 | return ans; |
69 | } | 69 | } |
70 | 70 | ||
71 | #ifndef CONFIG_FEATURE_FANCY_PING | 71 | #ifndef CONFIG_FEATURE_FANCY_PING |