diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2011-02-03 00:05:48 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-02-03 00:05:48 +0100 |
commit | b7c9fb27cba3d697e602f8cbf88cde135d8d6c5e (patch) | |
tree | b30b48c8a78e0ee4ed639a398e8778e5e3f50a04 /libbb | |
parent | 6307357effb79c8fbc6ccc9d4528c8c1c48a4831 (diff) | |
download | busybox-w32-b7c9fb27cba3d697e602f8cbf88cde135d8d6c5e.tar.gz busybox-w32-b7c9fb27cba3d697e602f8cbf88cde135d8d6c5e.tar.bz2 busybox-w32-b7c9fb27cba3d697e602f8cbf88cde135d8d6c5e.zip |
whitespace fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/crc32.c | 2 | ||||
-rw-r--r-- | libbb/getopt32.c | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/libbb/crc32.c b/libbb/crc32.c index c63bf0772..ac9836cc9 100644 --- a/libbb/crc32.c +++ b/libbb/crc32.c | |||
@@ -59,7 +59,7 @@ uint32_t FAST_FUNC crc32_block_endian0(uint32_t val, const void *buf, unsigned l | |||
59 | const void *end = (uint8_t*)buf + len; | 59 | const void *end = (uint8_t*)buf + len; |
60 | 60 | ||
61 | while (buf != end) { | 61 | while (buf != end) { |
62 | val = crc_table[(uint8_t)val ^ *(uint8_t*)buf] ^ (val >> 8); | 62 | val = crc_table[(uint8_t)val ^ *(uint8_t*)buf] ^ (val >> 8); |
63 | buf = (uint8_t*)buf + 1; | 63 | buf = (uint8_t*)buf + 1; |
64 | } | 64 | } |
65 | return val; | 65 | return val; |
diff --git a/libbb/getopt32.c b/libbb/getopt32.c index abd412043..f3f1cfcba 100644 --- a/libbb/getopt32.c +++ b/libbb/getopt32.c | |||
@@ -80,9 +80,9 @@ const char *applet_long_options | |||
80 | This struct allows you to define long options: | 80 | This struct allows you to define long options: |
81 | 81 | ||
82 | static const char applet_longopts[] ALIGN1 = | 82 | static const char applet_longopts[] ALIGN1 = |
83 | //"name\0" has_arg val | 83 | //"name\0" has_arg val |
84 | "verbose\0" No_argument "v" | 84 | "verbose\0" No_argument "v" |
85 | ; | 85 | ; |
86 | applet_long_options = applet_longopts; | 86 | applet_long_options = applet_longopts; |
87 | 87 | ||
88 | The last member of struct option (val) typically is set to | 88 | The last member of struct option (val) typically is set to |
@@ -226,7 +226,7 @@ Special characters: | |||
226 | if specified together. In this case you must set | 226 | if specified together. In this case you must set |
227 | opt_complementary = "b--cf:c--bf:f--bc". If two of the | 227 | opt_complementary = "b--cf:c--bf:f--bc". If two of the |
228 | mutually exclusive options are found, getopt32 will call | 228 | mutually exclusive options are found, getopt32 will call |
229 | bb_show_usage() and die. | 229 | bb_show_usage() and die. |
230 | 230 | ||
231 | "x--x" Variation of the above, it means that -x option should occur | 231 | "x--x" Variation of the above, it means that -x option should occur |
232 | at most once. | 232 | at most once. |