summaryrefslogtreecommitdiff
path: root/libbb/lineedit.c
diff options
context:
space:
mode:
authorDenys Vlasenko2019-05-14 17:26:47 +0200
committerDenys Vlasenko2019-05-14 17:26:47 +0200
commit8c317f03f6d4d89fd7b0cc1e6eaf515040b8e701 (patch)
tree4bf2806134b65a8734ab6521fb2a1ce243631b42 /libbb/lineedit.c
parent0545bfa841540a0d7d7e2953bc205eda64144c2e (diff)
downloadbusybox-8c317f03f6d4d89fd7b0cc1e6eaf515040b8e701.zip
busybox-8c317f03f6d4d89fd7b0cc1e6eaf515040b8e701.tar.gz
style fix, no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb/lineedit.c')
-rw-r--r--libbb/lineedit.c13
1 files changed, 10 insertions, 3 deletions
diff --git a/libbb/lineedit.c b/libbb/lineedit.c
index 1d5fef5..fbabc6c 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