1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 17:17:44 +00:00

LibC: Change wctrans_t to be a long instead of int*

The POSIX manpage just says that wctrans_t should be "a scalar type that
can hold values which represent locale-specific character mappings", and
doing switch statements with ints is much more pleasant than with
pointers.
This commit is contained in:
Tim Schumacher 2021-09-17 18:09:15 +02:00 committed by Brian Gianforcaro
parent 2f891fd4b8
commit ac406c8d0e

View file

@ -12,7 +12,7 @@
__BEGIN_DECLS
typedef const int* wctrans_t;
typedef long wctrans_t;
int iswalnum(wint_t wc);
int iswalpha(wint_t wc);