commit b8021320ebcca846fd7226ca717a61317306235f
parent d68773dd471cfb90efa2e54fcbb53a9affec584b
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date: Sat, 5 Nov 2022 12:19:40 +0100
libc: Improve wchar.h and wctype.h
These headers are not yet finished and they still have some
placeholders but this commit reduced some of them.
Diffstat:
7 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/include/bits/amd64/arch/cdefs.h b/include/bits/amd64/arch/cdefs.h
@@ -38,7 +38,7 @@ typedef int wchar_t;
#ifdef _NEED_WINT
#ifndef _WINT
-typedef unsigned win_t;
+typedef unsigned wint_t;
#define _WINT
#endif
#undef _NEED_WINT
diff --git a/include/bits/arm/arch/cdefs.h b/include/bits/arm/arch/cdefs.h
@@ -38,7 +38,7 @@ typedef int wchar_t;
#ifdef _NEED_WINT
#ifndef _WINT
-typedef unsigned win_t;
+typedef unsigned wint_t;
#define _WINT
#endif
#undef _NEED_WINT
diff --git a/include/bits/arm64/arch/cdefs.h b/include/bits/arm64/arch/cdefs.h
@@ -38,7 +38,7 @@ typedef int wchar_t;
#ifdef _NEED_WINT
#ifndef _WINT
-typedef unsigned win_t;
+typedef unsigned wint_t;
#define _WINT
#endif
#undef _NEED_WINT
diff --git a/include/bits/i386/arch/cdefs.h b/include/bits/i386/arch/cdefs.h
@@ -38,7 +38,7 @@ typedef int wchar_t;
#ifdef _NEED_WINT
#ifndef _WINT
-typedef unsigned win_t;
+typedef unsigned wint_t;
#define _WINT
#endif
#undef _NEED_WINT
diff --git a/include/bits/ppc/arch/cdefs.h b/include/bits/ppc/arch/cdefs.h
@@ -38,7 +38,7 @@ typedef int wchar_t;
#ifdef _NEED_WINT
#ifndef _WINT
-typedef unsigned win_t;
+typedef unsigned wint_t;
#define _WINT
#endif
#undef _NEED_WINT
diff --git a/include/bits/z80/arch/cdefs.h b/include/bits/z80/arch/cdefs.h
@@ -38,7 +38,7 @@ typedef int wchar_t;
#ifdef _NEED_WINT
#ifndef _WINT
-typedef unsigned win_t;
+typedef unsigned wint_t;
#define _WINT
#endif
#undef _NEED_WINT
diff --git a/include/wchar.h b/include/wchar.h
@@ -6,6 +6,7 @@
#define _NEED_WCHART
#define _NEED_WEOF
#define _NEED_WCHARLIM
+#define _NEED_WINT
#include <sys/cdefs.h>
#include <arch/cdefs.h>