aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ctype.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/ctype.h')
-rw-r--r--include/linux/ctype.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/ctype.h b/include/linux/ctype.h
index a3d6ee0044f9..8acfe312f947 100644
--- a/include/linux/ctype.h
+++ b/include/linux/ctype.h
@@ -52,4 +52,13 @@ static inline unsigned char __toupper(unsigned char c)
#define tolower(c) __tolower(c)
#define toupper(c) __toupper(c)
+/*
+ * Fast implementation of tolower() for internal usage. Do not use in your
+ * code.
+ */
+static inline char _tolower(const char c)
+{
+ return c | 0x20;
+}
+
#endif