simple c99 compiler
git clone git://
Log | Files | Refs | Submodules | README | LICENSE

commit 370cad03f363591d8efd561a6b86def3932c91dd
parent 961a3d7074aabefaedb1e40867efaa1e22b183f7
Author: Roberto E. Vargas Caballero <>
Date:   Sat,  5 Nov 2022 19:37:38 +0100

libc/wctype: Define wctrans_t and wctype_t

These types are not used at all in the library so the definitions
are just imported from musl libc.

Minclude/wctype.h | 5++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/include/wctype.h b/include/wctype.h @@ -6,9 +6,8 @@ #include <sys/cdefs.h> #include <arch/cdefs.h> -/* TODO: This is only a placeholder */ -typedef int wctrans_t; -typedef int wctype_t; +typedef const int *wctrans_t; +typedef unsigned long wctype_t; extern int iswalnum(wint_t wc); extern int iswalpha(wint_t wc);