diff options
author | Denys Vlasenko | 2010-10-28 18:57:19 +0200 |
---|---|---|
committer | Denys Vlasenko | 2010-10-28 18:57:19 +0200 |
commit | e4dcba1c103dc28e927e004791e331aaf604383d (patch) | |
tree | a18094ecc54fcea2cb523a802e0c414c3e6f85bf /networking | |
parent | 776509544123c68bbc128c0fdb2f699062d294cf (diff) | |
download | busybox-e4dcba1c103dc28e927e004791e331aaf604383d.zip busybox-e4dcba1c103dc28e927e004791e331aaf604383d.tar.gz |
*: 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 0defce4..c0b094e 100644 --- a/networking/brctl.c +++ b/networking/brctl.c @@ -184,7 +184,7 @@ int brctl_main(int argc UNUSED_PARAM, char **argv) tabs = 1; printf("\t\t%s\n", ifname); } - if (!tabs) /* bridge has no interfaces */ + if (!tabs) /* bridge has no interfaces */ bb_putchar('\n'); } goto done; diff --git a/networking/ether-wake.c b/networking/ether-wake.c index 121f153..8f1479c 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) unsigned flags; unsigned char wol_passwd[6]; int wol_passwd_sz = 0; - int s; /* Raw socket */ + int s; /* Raw socket */ int pktsize; unsigned char outpack[1000]; struct ether_addr eaddr; - struct whereto_t whereto; /* who to wake up */ + struct whereto_t whereto; /* who to wake up */ /* handle misc user options */ opt_complementary = "=1"; diff --git a/networking/ifupdown.c b/networking/ifupdown.c index 864fc2a..3cb1ec8 100644 --- a/networking/ifupdown.c +++ b/networking/ifupdown.c @@ -644,7 +644,7 @@ static const struct address_family_t addr_inet = { methods }; -#endif /* if ENABLE_FEATURE_IFUPDOWN_IPV4 */ +#endif /* if ENABLE_FEATURE_IFUPDOWN_IPV4 */ /* Returns pointer to the next word, or NULL. * In 1st case, advances *buf to the word after this one. diff --git a/networking/libiproute/iplink.c b/networking/libiproute/iplink.c index f9421fc..c5ba294 100644 --- a/networking/libiproute/iplink.c +++ b/networking/libiproute/iplink.c @@ -21,7 +21,7 @@ #endif /* taken from linux/sockios.h */ -#define SIOCSIFNAME 0x8923 /* set interface name */ +#define SIOCSIFNAME 0x8923 /* set interface name */ /* Exits on error */ static int get_ctl_fd(void) diff --git a/networking/ping.c b/networking/ping.c index e18d88e..3aba490 100644 --- a/networking/ping.c +++ b/networking/ping.c @@ -297,11 +297,11 @@ void BUG_ping_globals_too_big(void); } while (0) -#define A(bit) rcvd_tbl[(bit)>>3] /* identify byte in array */ -#define B(bit) (1 << ((bit) & 0x07)) /* identify bit in byte */ -#define SET(bit) (A(bit) |= B(bit)) -#define CLR(bit) (A(bit) &= (~B(bit))) -#define TST(bit) (A(bit) & B(bit)) +#define A(bit) rcvd_tbl[(bit)>>3] /* identify byte in array */ +#define B(bit) (1 << ((bit) & 0x07)) /* identify bit in byte */ +#define SET(bit) (A(bit) |= B(bit)) +#define CLR(bit) (A(bit) &= (~B(bit))) +#define TST(bit) (A(bit) & B(bit)) /**************************************************************************/ diff --git a/networking/tc.c b/networking/tc.c index 48d1642..9242741 100644 --- a/networking/tc.c +++ b/networking/tc.c @@ -1,10 +1,10 @@ /* vi: set sw=4 ts=4: */ /* - * tc.c "tc" utility frontend. + * "tc" utility frontend. * * Licensed under GPLv2 or later, see file LICENSE in this source tree. * - * Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru> + * Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru> * * Bernhard Reutner-Fischer adjusted for busybox */ diff --git a/networking/tftp.c b/networking/tftp.c index 0269a93..04c8f0e 100644 --- a/networking/tftp.c +++ b/networking/tftp.c @@ -447,7 +447,7 @@ static int tftp_protocol( /* NB: send_len value is preserved in code below * for potential resend */ - retries = TFTP_NUM_RETRIES; /* re-initialize */ + retries = TFTP_NUM_RETRIES; /* re-initialize */ waittime_ms = TFTP_TIMEOUT_MS; send_again: diff --git a/networking/udhcp/dhcpd.c b/networking/udhcp/dhcpd.c index f087865..a015cf0 100644 --- a/networking/udhcp/dhcpd.c +++ b/networking/udhcp/dhcpd.c @@ -413,7 +413,7 @@ int udhcpd_main(int argc UNUSED_PARAM, char **argv) case SIGTERM: bb_info_msg("Received SIGTERM"); goto ret0; - case 0: /* no signal: read a packet */ + case 0: /* no signal: read a packet */ break; default: /* signal or error (probably EINTR): back to select */ continue; diff --git a/networking/udhcp/dumpleases.c b/networking/udhcp/dumpleases.c index 46610fc..a15e409 100644 --- a/networking/udhcp/dumpleases.c +++ b/networking/udhcp/dumpleases.c @@ -18,9 +18,9 @@ int dumpleases_main(int argc UNUSED_PARAM, char **argv) struct in_addr addr; enum { - OPT_a = 0x1, // -a - OPT_r = 0x2, // -r - OPT_f = 0x4, // -f + OPT_a = 0x1, // -a + OPT_r = 0x2, // -r + OPT_f = 0x4, // -f }; #if ENABLE_LONG_OPTS static const char dumpleases_longopts[] ALIGN1 = |