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) |
*: 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 @@ #include "libbb.h" #include "unicode.h" +/* If it's not a constant... */ +#ifndef unicode_status uint8_t unicode_status; +#endif size_t FAST_FUNC bb_mbstrlen(const char *string) { |