diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-01-20 02:51:09 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-01-20 02:51:09 +0100 |
commit | 94ca6943bc5266b0f3e6fc180814e184d7502442 (patch) | |
tree | 5034cffc64f6679c4478eabb6a37100c57cbc9cd /libbb | |
parent | 0d478334b3e6f644f26518c31117b25134a2678a (diff) | |
download | busybox-w32-94ca6943bc5266b0f3e6fc180814e184d7502442.tar.gz busybox-w32-94ca6943bc5266b0f3e6fc180814e184d7502442.tar.bz2 busybox-w32-94ca6943bc5266b0f3e6fc180814e184d7502442.zip |
*: small code shrinks and compile fix for unicode
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/unicode.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libbb/unicode.c b/libbb/unicode.c index 9d316df04..80042957c 100644 --- a/libbb/unicode.c +++ b/libbb/unicode.c | |||
@@ -9,7 +9,10 @@ | |||
9 | #include "libbb.h" | 9 | #include "libbb.h" |
10 | #include "unicode.h" | 10 | #include "unicode.h" |
11 | 11 | ||
12 | /* If it's not a constant... */ | ||
13 | #ifndef unicode_status | ||
12 | uint8_t unicode_status; | 14 | uint8_t unicode_status; |
15 | #endif | ||
13 | 16 | ||
14 | size_t FAST_FUNC bb_mbstrlen(const char *string) | 17 | size_t FAST_FUNC bb_mbstrlen(const char *string) |
15 | { | 18 | { |