aboutsummaryrefslogtreecommitdiff
path: root/libbb/unicode.c
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/unicode.c
parent0d478334b3e6f644f26518c31117b25134a2678a (diff)
downloadbusybox-94ca6943bc5266b0f3e6fc180814e184d7502442.tar.gz
*: small code shrinks and compile fix for unicode
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb/unicode.c')
-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 @@
#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)
{