From 8b26b6604d2c0069b8baae1e9fce0efa431e1fe5 Mon Sep 17 00:00:00 2001 From: Bananymous Date: Tue, 19 Aug 2025 16:29:46 +0300 Subject: [PATCH] LibC: Make mbstate_t into int This is not used, but makes more sense than an empty struct --- userspace/libraries/LibC/include/wchar.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/userspace/libraries/LibC/include/wchar.h b/userspace/libraries/LibC/include/wchar.h index dbf0c14f..34578a72 100644 --- a/userspace/libraries/LibC/include/wchar.h +++ b/userspace/libraries/LibC/include/wchar.h @@ -17,7 +17,7 @@ __BEGIN_DECLS #include -typedef struct {} mbstate_t; +typedef int mbstate_t; typedef int wctype_t;