summaryrefslogtreecommitdiffstats
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 74fb735778..633c3862d8 100644
--- a/include/linux/ctype.h
+++ b/include/linux/ctype.h
@@ -53,4 +53,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