diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-02-26 15:57:59 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-02-26 15:57:59 +0100 |
commit | a356746d04b50968f4b5d4eb43c587efc61dffba (patch) | |
tree | e55e826ddbdfc2e184c325933a910228ec310019 /LibC/ctype.h | |
parent | 2e5b9d318f51f73b0ac155f00345a70bf287f5e6 (diff) | |
download | serenity-a356746d04b50968f4b5d4eb43c587efc61dffba.zip |
Compat work towards porting vim.
Diffstat (limited to 'LibC/ctype.h')
-rw-r--r-- | LibC/ctype.h | 15 |
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) { |