diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-06-16 04:09:25 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-06-16 04:09:25 +0000 |
commit | f45c4f41b792e4b7c52eaf21b9540112887e861b (patch) | |
tree | e5f35073f61b6178d49d02821676894f32b7a32f /libbb | |
parent | 57c899e4c2be4d0bddeaaca9c34ea0f484f92ad8 (diff) | |
download | busybox-w32-f45c4f41b792e4b7c52eaf21b9540112887e861b.tar.gz busybox-w32-f45c4f41b792e4b7c52eaf21b9540112887e861b.tar.bz2 busybox-w32-f45c4f41b792e4b7c52eaf21b9540112887e861b.zip |
whitespace and comment fixes, no code changes
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/pw_encrypt.c | 4 | ||||
-rw-r--r-- | libbb/pw_encrypt_des.c | 6 |
2 files changed, 3 insertions, 7 deletions
diff --git a/libbb/pw_encrypt.c b/libbb/pw_encrypt.c index c1e927e23..73631865c 100644 --- a/libbb/pw_encrypt.c +++ b/libbb/pw_encrypt.c | |||
@@ -14,10 +14,6 @@ | |||
14 | /* | 14 | /* |
15 | * DES and MD5 crypt implementations are taken from uclibc. | 15 | * DES and MD5 crypt implementations are taken from uclibc. |
16 | * They were modified to not use static buffers. | 16 | * They were modified to not use static buffers. |
17 | * Comparison with uclibc (before uclibc had 70k staic buffers reinstated): | ||
18 | * text data bss dec hex filename | ||
19 | * 759909 604 6684 767197 bb4dd busybox_old | ||
20 | * 759579 604 6684 766867 bb393 busybox_unstripped | ||
21 | */ | 17 | */ |
22 | /* Common for them */ | 18 | /* Common for them */ |
23 | static const uint8_t ascii64[] = "./0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"; | 19 | static const uint8_t ascii64[] = "./0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"; |
diff --git a/libbb/pw_encrypt_des.c b/libbb/pw_encrypt_des.c index a13e1a5df..cd19a63f7 100644 --- a/libbb/pw_encrypt_des.c +++ b/libbb/pw_encrypt_des.c | |||
@@ -201,7 +201,7 @@ static const uint32_t bits32[32] = | |||
201 | static const uint8_t bits8[8] = { 0x80, 0x40, 0x20, 0x10, 0x08, 0x04, 0x02, 0x01 }; | 201 | static const uint8_t bits8[8] = { 0x80, 0x40, 0x20, 0x10, 0x08, 0x04, 0x02, 0x01 }; |
202 | 202 | ||
203 | 203 | ||
204 | static int | 204 | static int |
205 | ascii_to_bin(char ch) | 205 | ascii_to_bin(char ch) |
206 | { | 206 | { |
207 | if (ch > 'z') | 207 | if (ch > 'z') |
@@ -220,8 +220,8 @@ ascii_to_bin(char ch) | |||
220 | } | 220 | } |
221 | 221 | ||
222 | 222 | ||
223 | /* Static stuff that stays resident and doesn't change after | 223 | /* Static stuff that stays resident and doesn't change after |
224 | * being initialized, and therefore doesn't need to be made | 224 | * being initialized, and therefore doesn't need to be made |
225 | * reentrant. */ | 225 | * reentrant. */ |
226 | struct const_des_ctx { | 226 | struct const_des_ctx { |
227 | #if USE_ip_mask | 227 | #if USE_ip_mask |