Revert "LibC: Remove isfoo() declarations from ctype.h"
This reverts commit 2ba06662b6
.
This broke the toolchain build. Apparently libstdc++v3 depends on the
declarations of isfoo() helpers.
This commit is contained in:
parent
0e44fb8731
commit
57e4410044
Notes:
sideshowbarker
2024-07-19 09:26:06 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/57e44100445
1 changed files with 12 additions and 0 deletions
|
@ -45,6 +45,18 @@ 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…
Add table
Reference in a new issue