From 31e2e7b86388e4ece09f37866bd1411f357cafbd Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sat, 12 Dec 2009 02:42:35 +0100 Subject: randomconfig fixes Signed-off-by: Denys Vlasenko --- libbb/Kbuild | 2 ++ libbb/lineedit.c | 2 ++ 2 files changed, 4 insertions(+) (limited to 'libbb') diff --git a/libbb/Kbuild b/libbb/Kbuild index c0995708a..243626d67 100644 --- a/libbb/Kbuild +++ b/libbb/Kbuild @@ -145,6 +145,8 @@ lib-$(CONFIG_FEATURE_HTTPD_AUTH_MD5) += pw_encrypt.o lib-$(CONFIG_DF) += find_mount_point.o lib-$(CONFIG_MKFS_MINIX) += find_mount_point.o +lib-$(CONFIG_MKFS_EXT2) += find_mount_point.o +lib-$(CONFIG_MKFS_REISER) += find_mount_point.o lib-$(CONFIG_FSCK_MINIX) += find_mount_point.o lib-$(CONFIG_MOUNT) += find_mount_point.o diff --git a/libbb/lineedit.c b/libbb/lineedit.c index 7bb3f2e35..c73e6b712 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 -- cgit v1.2.3