From 94ca6943bc5266b0f3e6fc180814e184d7502442 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Wed, 20 Jan 2010 02:51:09 +0100 Subject: *: small code shrinks and compile fix for unicode Signed-off-by: Denys Vlasenko --- libbb/unicode.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libbb/unicode.c') 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) { -- cgit v1.2.3