aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-01-20 02:51:09 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2010-01-20 02:51:09 +0100
commit94ca6943bc5266b0f3e6fc180814e184d7502442 (patch)
tree5034cffc64f6679c4478eabb6a37100c57cbc9cd /libbb
parent0d478334b3e6f644f26518c31117b25134a2678a (diff)
downloadbusybox-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.c3
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
12uint8_t unicode_status; 14uint8_t unicode_status;
15#endif
13 16
14size_t FAST_FUNC bb_mbstrlen(const char *string) 17size_t FAST_FUNC bb_mbstrlen(const char *string)
15{ 18{