diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-10-28 18:57:19 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-10-28 18:57:19 +0200 |
commit | e4dcba1c103dc28e927e004791e331aaf604383d (patch) | |
tree | a18094ecc54fcea2cb523a802e0c414c3e6f85bf /networking | |
parent | 776509544123c68bbc128c0fdb2f699062d294cf (diff) | |
download | busybox-w32-e4dcba1c103dc28e927e004791e331aaf604383d.tar.gz busybox-w32-e4dcba1c103dc28e927e004791e331aaf604383d.tar.bz2 busybox-w32-e4dcba1c103dc28e927e004791e331aaf604383d.zip |
*: whitespace fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking')
-rw-r--r-- | networking/brctl.c | 2 | ||||
-rw-r--r-- | networking/ether-wake.c | 4 | ||||
-rw-r--r-- | networking/ifupdown.c | 2 | ||||
-rw-r--r-- | networking/libiproute/iplink.c | 2 | ||||
-rw-r--r-- | networking/ping.c | 10 | ||||
-rw-r--r-- | networking/tc.c | 4 | ||||
-rw-r--r-- | networking/tftp.c | 2 | ||||
-rw-r--r-- | networking/udhcp/dhcpd.c | 2 | ||||
-rw-r--r-- | networking/udhcp/dumpleases.c | 6 |
9 files changed, 17 insertions, 17 deletions
diff --git a/networking/brctl.c b/networking/brctl.c index 0defce46a..c0b094eba 100644 --- a/networking/brctl.c +++ b/networking/brctl.c | |||
@@ -184,7 +184,7 @@ int brctl_main(int argc UNUSED_PARAM, char **argv) | |||
184 | tabs = 1; | 184 | tabs = 1; |
185 | printf("\t\t%s\n", ifname); | 185 | printf("\t\t%s\n", ifname); |
186 | } | 186 | } |
187 | if (!tabs) /* bridge has no interfaces */ | 187 | if (!tabs) /* bridge has no interfaces */ |
188 | bb_putchar('\n'); | 188 | bb_putchar('\n'); |
189 | } | 189 | } |
190 | goto done; | 190 | goto done; |
diff --git a/networking/ether-wake.c b/networking/ether-wake.c index 121f15366..8f1479c02 100644 --- a/networking/ether-wake.c +++ b/networking/ether-wake.c | |||
@@ -189,12 +189,12 @@ int ether_wake_main(int argc UNUSED_PARAM, char **argv) | |||
189 | unsigned flags; | 189 | unsigned flags; |
190 | unsigned char wol_passwd[6]; | 190 | unsigned char wol_passwd[6]; |
191 | int wol_passwd_sz = 0; | 191 | int wol_passwd_sz = 0; |
192 | int s; /* Raw socket */ | 192 | int s; /* Raw socket */ |
193 | int pktsize; | 193 | int pktsize; |
194 | unsigned char outpack[1000]; | 194 | unsigned char outpack[1000]; |
195 | 195 | ||
196 | struct ether_addr eaddr; | 196 | struct ether_addr eaddr; |
197 | struct whereto_t whereto; /* who to wake up */ | 197 | struct whereto_t whereto; /* who to wake up */ |
198 | 198 | ||
199 | /* handle misc user options */ | 199 | /* handle misc user options */ |
200 | opt_complementary = "=1"; | 200 | opt_complementary = "=1"; |
diff --git a/networking/ifupdown.c b/networking/ifupdown.c index 864fc2acd..3cb1ec858 100644 --- a/networking/ifupdown.c +++ b/networking/ifupdown.c | |||
@@ -644,7 +644,7 @@ static const struct address_family_t addr_inet = { | |||
644 | methods | 644 | methods |
645 | }; | 645 | }; |
646 | 646 | ||
647 | #endif /* if ENABLE_FEATURE_IFUPDOWN_IPV4 */ | 647 | #endif /* if ENABLE_FEATURE_IFUPDOWN_IPV4 */ |
648 | 648 | ||
649 | /* Returns pointer to the next word, or NULL. | 649 | /* Returns pointer to the next word, or NULL. |
650 | * In 1st case, advances *buf to the word after this one. | 650 | * In 1st case, advances *buf to the word after this one. |
diff --git a/networking/libiproute/iplink.c b/networking/libiproute/iplink.c index f9421fc68..c5ba294aa 100644 --- a/networking/libiproute/iplink.c +++ b/networking/libiproute/iplink.c | |||
@@ -21,7 +21,7 @@ | |||
21 | #endif | 21 | #endif |
22 | 22 | ||
23 | /* taken from linux/sockios.h */ | 23 | /* taken from linux/sockios.h */ |
24 | #define SIOCSIFNAME 0x8923 /* set interface name */ | 24 | #define SIOCSIFNAME 0x8923 /* set interface name */ |
25 | 25 | ||
26 | /* Exits on error */ | 26 | /* Exits on error */ |
27 | static int get_ctl_fd(void) | 27 | static int get_ctl_fd(void) |
diff --git a/networking/ping.c b/networking/ping.c index e18d88e39..3aba4906e 100644 --- a/networking/ping.c +++ b/networking/ping.c | |||
@@ -297,11 +297,11 @@ void BUG_ping_globals_too_big(void); | |||
297 | } while (0) | 297 | } while (0) |
298 | 298 | ||
299 | 299 | ||
300 | #define A(bit) rcvd_tbl[(bit)>>3] /* identify byte in array */ | 300 | #define A(bit) rcvd_tbl[(bit)>>3] /* identify byte in array */ |
301 | #define B(bit) (1 << ((bit) & 0x07)) /* identify bit in byte */ | 301 | #define B(bit) (1 << ((bit) & 0x07)) /* identify bit in byte */ |
302 | #define SET(bit) (A(bit) |= B(bit)) | 302 | #define SET(bit) (A(bit) |= B(bit)) |
303 | #define CLR(bit) (A(bit) &= (~B(bit))) | 303 | #define CLR(bit) (A(bit) &= (~B(bit))) |
304 | #define TST(bit) (A(bit) & B(bit)) | 304 | #define TST(bit) (A(bit) & B(bit)) |
305 | 305 | ||
306 | /**************************************************************************/ | 306 | /**************************************************************************/ |
307 | 307 | ||
diff --git a/networking/tc.c b/networking/tc.c index 48d164285..9242741e4 100644 --- a/networking/tc.c +++ b/networking/tc.c | |||
@@ -1,10 +1,10 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | 1 | /* vi: set sw=4 ts=4: */ |
2 | /* | 2 | /* |
3 | * tc.c "tc" utility frontend. | 3 | * "tc" utility frontend. |
4 | * | 4 | * |
5 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. | 5 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
6 | * | 6 | * |
7 | * Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru> | 7 | * Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru> |
8 | * | 8 | * |
9 | * Bernhard Reutner-Fischer adjusted for busybox | 9 | * Bernhard Reutner-Fischer adjusted for busybox |
10 | */ | 10 | */ |
diff --git a/networking/tftp.c b/networking/tftp.c index 0269a93ab..04c8f0ebb 100644 --- a/networking/tftp.c +++ b/networking/tftp.c | |||
@@ -447,7 +447,7 @@ static int tftp_protocol( | |||
447 | /* NB: send_len value is preserved in code below | 447 | /* NB: send_len value is preserved in code below |
448 | * for potential resend */ | 448 | * for potential resend */ |
449 | 449 | ||
450 | retries = TFTP_NUM_RETRIES; /* re-initialize */ | 450 | retries = TFTP_NUM_RETRIES; /* re-initialize */ |
451 | waittime_ms = TFTP_TIMEOUT_MS; | 451 | waittime_ms = TFTP_TIMEOUT_MS; |
452 | 452 | ||
453 | send_again: | 453 | send_again: |
diff --git a/networking/udhcp/dhcpd.c b/networking/udhcp/dhcpd.c index f0878652c..a015cf038 100644 --- a/networking/udhcp/dhcpd.c +++ b/networking/udhcp/dhcpd.c | |||
@@ -413,7 +413,7 @@ int udhcpd_main(int argc UNUSED_PARAM, char **argv) | |||
413 | case SIGTERM: | 413 | case SIGTERM: |
414 | bb_info_msg("Received SIGTERM"); | 414 | bb_info_msg("Received SIGTERM"); |
415 | goto ret0; | 415 | goto ret0; |
416 | case 0: /* no signal: read a packet */ | 416 | case 0: /* no signal: read a packet */ |
417 | break; | 417 | break; |
418 | default: /* signal or error (probably EINTR): back to select */ | 418 | default: /* signal or error (probably EINTR): back to select */ |
419 | continue; | 419 | continue; |
diff --git a/networking/udhcp/dumpleases.c b/networking/udhcp/dumpleases.c index 46610fc63..a15e409cc 100644 --- a/networking/udhcp/dumpleases.c +++ b/networking/udhcp/dumpleases.c | |||
@@ -18,9 +18,9 @@ int dumpleases_main(int argc UNUSED_PARAM, char **argv) | |||
18 | struct in_addr addr; | 18 | struct in_addr addr; |
19 | 19 | ||
20 | enum { | 20 | enum { |
21 | OPT_a = 0x1, // -a | 21 | OPT_a = 0x1, // -a |
22 | OPT_r = 0x2, // -r | 22 | OPT_r = 0x2, // -r |
23 | OPT_f = 0x4, // -f | 23 | OPT_f = 0x4, // -f |
24 | }; | 24 | }; |
25 | #if ENABLE_LONG_OPTS | 25 | #if ENABLE_LONG_OPTS |
26 | static const char dumpleases_longopts[] ALIGN1 = | 26 | static const char dumpleases_longopts[] ALIGN1 = |