*: whitespace fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@ -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;
|
||||
|
@ -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";
|
||||
|
@ -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.
|
||||
|
@ -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)
|
||||
|
@ -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))
|
||||
|
||||
/**************************************************************************/
|
||||
|
||||
|
@ -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
|
||||
*/
|
||||
|
@ -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:
|
||||
|
@ -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;
|
||||
|
@ -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 =
|
||||
|
Reference in New Issue
Block a user