mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-21 02:08:12 +03:00
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.
This commit is contained in:
parent
92e2afe584
commit
2ba06662b6
Notes:
sideshowbarker
2024-07-19 09:26:23 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/2ba06662b67
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user