Skip to content

Commit

Permalink
Whitespace fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
  • Loading branch information
Denys Vlasenko committed Jul 30, 2013
1 parent bfa6ed1 commit 982e87f
Show file tree
Hide file tree
Showing 12 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion coreutils/catv.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ int catv_main(int argc UNUSED_PARAM, char **argv)
#define CATV_OPT_e (1<<0)
#define CATV_OPT_t (1<<1)
#define CATV_OPT_v (1<<2)
typedef char BUG_const_mismatch[
typedef char BUG_const_mismatch[
CATV_OPT_e == VISIBLE_ENDLINE && CATV_OPT_t == VISIBLE_SHOW_TABS
? 1 : -1
];
Expand Down
2 changes: 1 addition & 1 deletion docs/tcp.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Solution #1: block until sending is done:
*/
struct linger {
int l_onoff; /* linger active */
int l_linger; /* how many seconds to linger for */
int l_linger; /* how many seconds to linger for */
} linger;
linger.l_onoff = 1;
linger.l_linger = SOME_NUM;
Expand Down
4 changes: 2 additions & 2 deletions findutils/find.c
Original file line number Diff line number Diff line change
Expand Up @@ -985,8 +985,8 @@ static action*** parse_params(char **argv)
*/
/* Options */
if (parm == OPT_FOLLOW) {
dbg("follow enabled: %d", __LINE__);
G.recurse_flags |= ACTION_FOLLOWLINKS | ACTION_DANGLING_OK;
dbg("follow enabled: %d", __LINE__);
G.recurse_flags |= ACTION_FOLLOWLINKS | ACTION_DANGLING_OK;
}
#if ENABLE_FEATURE_FIND_XDEV
else if (parm == OPT_XDEV) {
Expand Down
2 changes: 1 addition & 1 deletion include/bb_e2fs_defs.h
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ struct ext2_super_block {
uint32_t s_reserved[162]; /* Padding to the end of the block */
};
struct BUG_ext2_super_block {
char bug[sizeof(struct ext2_super_block) == 1024 ? 1 : -1];
char bug[sizeof(struct ext2_super_block) == 1024 ? 1 : -1];
};

/*
Expand Down
6 changes: 3 additions & 3 deletions include/libbb.h
Original file line number Diff line number Diff line change
Expand Up @@ -483,9 +483,9 @@ int xmkstemp(char *template) FAST_FUNC;
off_t fdlength(int fd) FAST_FUNC;

uoff_t FAST_FUNC get_volume_size_in_bytes(int fd,
const char *override,
unsigned override_units,
int extend);
const char *override,
unsigned override_units,
int extend);

void xpipe(int filedes[2]) FAST_FUNC;
/* In this form code with pipes is much more readable */
Expand Down
2 changes: 1 addition & 1 deletion include/liblzo_interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
/*
static void die_at(int line)
{
bb_error_msg_and_die("internal error at %d", line);
bb_error_msg_and_die("internal error at %d", line);
}
#define assert(v) if (!(v)) die_at(__LINE__)
*/
Expand Down
2 changes: 1 addition & 1 deletion libbb/appletlib.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#include "busybox.h"

#if !(defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) \
|| defined(__APPLE__) \
|| defined(__APPLE__) \
)
# include <malloc.h> /* for mallopt */
#endif
Expand Down
2 changes: 1 addition & 1 deletion modutils/modprobe.c
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ struct globals {
} FIX_ALIASING;
#define G (*ptr_to_globals)
#define INIT_G() do { \
SET_PTR_TO_GLOBALS(xzalloc(sizeof(G))); \
SET_PTR_TO_GLOBALS(xzalloc(sizeof(G))); \
} while (0)


Expand Down
4 changes: 2 additions & 2 deletions networking/httpd.c
Original file line number Diff line number Diff line change
Expand Up @@ -1709,8 +1709,8 @@ static int pam_talker(int num_msg,
s = userinfo->pw;
break;
case PAM_ERROR_MSG:
case PAM_TEXT_INFO:
s = "";
case PAM_TEXT_INFO:
s = "";
break;
default:
free(response);
Expand Down
4 changes: 2 additions & 2 deletions networking/ntpd.c
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,8 @@ typedef struct {
uint8_t lastpkt_status;
uint8_t lastpkt_stratum;
uint8_t reachable_bits;
/* when to send new query (if p_fd == -1)
* or when receive times out (if p_fd >= 0): */
/* when to send new query (if p_fd == -1)
* or when receive times out (if p_fd >= 0): */
double next_action_time;
double p_xmttime;
double lastpkt_recv_time;
Expand Down
2 changes: 1 addition & 1 deletion networking/tc.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ struct globals {
} FIX_ALIASING;
#define G (*(struct globals*)&bb_common_bufsiz1)
struct BUG_G_too_big {
char BUG_G_too_big[sizeof(G) <= COMMON_BUFSIZE ? 1 : -1];
char BUG_G_too_big[sizeof(G) <= COMMON_BUFSIZE ? 1 : -1];
};
#define filter_ifindex (G.filter_ifindex)
#define filter_qdisc (G.filter_qdisc)
Expand Down
14 changes: 7 additions & 7 deletions networking/wget.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,14 @@ struct globals {
const char *curfile; /* Name of current file being transferred */
bb_progress_t pmt;
#endif
char *dir_prefix;
char *dir_prefix;
#if ENABLE_FEATURE_WGET_LONG_OPTIONS
char *post_data;
char *extra_headers;
char *post_data;
char *extra_headers;
#endif
char *fname_out; /* where to direct output (-O) */
const char *proxy_flag; /* Use proxies if env vars are set */
const char *user_agent; /* "User-Agent" header field */
char *fname_out; /* where to direct output (-O) */
const char *proxy_flag; /* Use proxies if env vars are set */
const char *user_agent; /* "User-Agent" header field */
#if ENABLE_FEATURE_WGET_TIMEOUT
unsigned timeout_seconds;
#endif
Expand All @@ -86,7 +86,7 @@ struct globals {
} FIX_ALIASING;
#define G (*ptr_to_globals)
#define INIT_G() do { \
SET_PTR_TO_GLOBALS(xzalloc(sizeof(G))); \
SET_PTR_TO_GLOBALS(xzalloc(sizeof(G))); \
IF_FEATURE_WGET_TIMEOUT(G.timeout_seconds = 900;) \
} while (0)

Expand Down

0 comments on commit 982e87f

Please sign in to comment.