diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2018-07-17 15:04:17 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2018-07-17 15:04:17 +0200 |
commit | 4c201c00a3650cdacad5fc098ca255416687fb0f (patch) | |
tree | fdebcdd9a9a39eee729c45f17d92d042c2adf3f7 /libbb | |
parent | 0d2e0de42bab54c31ba37f1c6fd10dcdc7008ccf (diff) | |
download | busybox-w32-4c201c00a3650cdacad5fc098ca255416687fb0f.tar.gz busybox-w32-4c201c00a3650cdacad5fc098ca255416687fb0f.tar.bz2 busybox-w32-4c201c00a3650cdacad5fc098ca255416687fb0f.zip |
whitespace fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/appletlib.c | 2 | ||||
-rw-r--r-- | libbb/nuke_str.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libbb/appletlib.c b/libbb/appletlib.c index f155d0908..319bcc263 100644 --- a/libbb/appletlib.c +++ b/libbb/appletlib.c | |||
@@ -737,7 +737,7 @@ static void install_links(const char *busybox, int use_symbolic_links, | |||
737 | * busybox.h::bb_install_loc_t, or else... */ | 737 | * busybox.h::bb_install_loc_t, or else... */ |
738 | int (*lf)(const char *, const char *); | 738 | int (*lf)(const char *, const char *); |
739 | char *fpc; | 739 | char *fpc; |
740 | const char *appname = applet_names; | 740 | const char *appname = applet_names; |
741 | unsigned i; | 741 | unsigned i; |
742 | int rc; | 742 | int rc; |
743 | 743 | ||
diff --git a/libbb/nuke_str.c b/libbb/nuke_str.c index 240e68004..b5385e956 100644 --- a/libbb/nuke_str.c +++ b/libbb/nuke_str.c | |||
@@ -12,7 +12,7 @@ | |||
12 | 12 | ||
13 | void FAST_FUNC nuke_str(char *str) | 13 | void FAST_FUNC nuke_str(char *str) |
14 | { | 14 | { |
15 | if (str) { | 15 | if (str) { |
16 | while (*str) | 16 | while (*str) |
17 | *str++ = 0; | 17 | *str++ = 0; |
18 | /* or: memset(str, 0, strlen(str)); - not as small as above */ | 18 | /* or: memset(str, 0, strlen(str)); - not as small as above */ |