summaryrefslogtreecommitdiff
path: root/libbb/lineedit.c
diff options
context:
space:
mode:
authorDenys Vlasenko2009-12-12 02:42:35 +0100
committerDenys Vlasenko2009-12-12 02:42:35 +0100
commit31e2e7b86388e4ece09f37866bd1411f357cafbd (patch)
treed87ab658d71ea54decdf6f6c94a0de1133124ea1 /libbb/lineedit.c
parent1315c30fefe6e64cd2cbc95fe484b02ce70afec1 (diff)
downloadbusybox-31e2e7b86388e4ece09f37866bd1411f357cafbd.zip
busybox-31e2e7b86388e4ece09f37866bd1411f357cafbd.tar.gz
randomconfig fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb/lineedit.c')
-rw-r--r--libbb/lineedit.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libbb/lineedit.c b/libbb/lineedit.c
index 7bb3f2e..c73e6b7 100644
--- a/libbb/lineedit.c
+++ b/libbb/lineedit.c
@@ -71,7 +71,9 @@
# define BB_NUL L'\0'
# define CHAR_T wchar_t
static bool BB_isspace(CHAR_T c) { return ((unsigned)c < 256 && isspace(c)); }
+# if ENABLE_FEATURE_EDITING_VI
static bool BB_isalnum(CHAR_T c) { return ((unsigned)c < 256 && isalnum(c)); }
+# endif
static bool BB_ispunct(CHAR_T c) { return ((unsigned)c < 256 && ispunct(c)); }
# undef isspace
# undef isalnum