summaryrefslogtreecommitdiff
path: root/Libraries/LibC
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-02-11 17:41:16 +0100
committerAndreas Kling <kling@serenityos.org>2020-02-11 17:41:16 +0100
commit2ba06662b67439facf7fb81d8b8b3d53cf7ee771 (patch)
tree527402b49a78ff9c78da68efe311b9d4f1c6c240 /Libraries/LibC
parent92e2afe5849a9a03db4bb6fb198f75a3aa9906ae (diff)
downloadserenity-2ba06662b67439facf7fb81d8b8b3d53cf7ee771.zip
LibC: Remove isfoo() declarations from ctype.h
We'll keep the definitions in ctype.cpp so you can link against them but there's no reason to have competing declarations and macros.
Diffstat (limited to 'Libraries/LibC')
-rw-r--r--Libraries/LibC/ctype.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/Libraries/LibC/ctype.h b/Libraries/LibC/ctype.h
index 740832f162..de88a12354 100644
--- a/Libraries/LibC/ctype.h
+++ b/Libraries/LibC/ctype.h
@@ -45,18 +45,6 @@ extern const char _ctype_[256];
int tolower(int);
int toupper(int);
-int isalnum(int);
-int isalpha(int);
-int iscntrl(int);
-int isdigit(int);
-int isxdigit(int);
-int isspace(int);
-int ispunct(int);
-int isprint(int);
-int isgraph(int);
-int islower(int);
-int isupper(int);
-int isblank(int);
#define isalnum(c) (_ctype_[(int)(c)] & (_U | _L | _N))
#define isalpha(c) (_ctype_[(int)(c)] & (_U | _L))