summaryrefslogtreecommitdiff
path: root/LibC/ctype.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-02-26 15:57:59 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-02-26 15:57:59 +0100
commita356746d04b50968f4b5d4eb43c587efc61dffba (patch)
treee55e826ddbdfc2e184c325933a910228ec310019 /LibC/ctype.h
parent2e5b9d318f51f73b0ac155f00345a70bf287f5e6 (diff)
downloadserenity-a356746d04b50968f4b5d4eb43c587efc61dffba.zip
Compat work towards porting vim.
Diffstat (limited to 'LibC/ctype.h')
-rw-r--r--LibC/ctype.h15
1 files changed, 2 insertions, 13 deletions
diff --git a/LibC/ctype.h b/LibC/ctype.h
index c1282644bd..03ee173e05 100644
--- a/LibC/ctype.h
+++ b/LibC/ctype.h
@@ -25,19 +25,8 @@ ALWAYS_INLINE int __isupper(int c)
return c >= 'A' && c <= 'Z';
}
-ALWAYS_INLINE int __tolower(int c)
-{
- if (__isupper(c))
- return c | 0x20;
- return c;
-}
-
-ALWAYS_INLINE int __toupper(int c)
-{
- if (__islower(c))
- return c & ~0x20;
- return c;
-}
+int __tolower(int);
+int __toupper(int);
ALWAYS_INLINE int __isdigit(int c)
{