From 8c317f03f6d4d89fd7b0cc1e6eaf515040b8e701 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Tue, 14 May 2019 17:26:47 +0200 Subject: style fix, no code changes Signed-off-by: Denys Vlasenko --- libbb/lineedit.c | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'libbb/lineedit.c') diff --git a/libbb/lineedit.c b/libbb/lineedit.c index 1d5fef5ee..fbabc6c12 100644 --- a/libbb/lineedit.c +++ b/libbb/lineedit.c @@ -70,13 +70,20 @@ #if ENABLE_UNICODE_SUPPORT # define BB_NUL ((wchar_t)0) # define CHAR_T wchar_t -static bool BB_isspace(CHAR_T c) { return ((unsigned)c < 256 && isspace(c)); } +static bool BB_isspace(CHAR_T c) +{ + return ((unsigned)c < 256 && isspace(c)); +} # if ENABLE_FEATURE_EDITING_VI -static bool BB_isalnum_or_underscore(CHAR_T c) { +static bool BB_isalnum_or_underscore(CHAR_T c) +{ return ((unsigned)c < 256 && isalnum(c)) || c == '_'; } # endif -static bool BB_ispunct(CHAR_T c) { return ((unsigned)c < 256 && ispunct(c)); } +static bool BB_ispunct(CHAR_T c) +{ + return ((unsigned)c < 256 && ispunct(c)); +} # undef isspace # undef isalnum # undef ispunct -- cgit v1.2.3