summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libc/misc/ctype/ctype.c14
-rw-r--r--libc/stdio/fwprintf.c1
2 files changed, 3 insertions, 12 deletions
diff --git a/libc/misc/ctype/ctype.c b/libc/misc/ctype/ctype.c
index 43f95429a..8c99d004c 100644
--- a/libc/misc/ctype/ctype.c
+++ b/libc/misc/ctype/ctype.c
@@ -875,11 +875,7 @@ libc_hidden_data_def(__ctype_b)
/**********************************************************************/
#ifdef L___C_ctype_tolower
-//vda:TODO: make static
-
-extern const __ctype_touplow_t __C_ctype_tolower_data[];
-libc_hidden_proto(__C_ctype_tolower_data)
-const __ctype_touplow_t __C_ctype_tolower_data[] = {
+static const __ctype_touplow_t __C_ctype_tolower_data[] = {
#ifdef __UCLIBC_HAS_CTYPE_SIGNED__
-128, -127, -126, -125,
-124, -123, -122, -121,
@@ -979,7 +975,6 @@ const __ctype_touplow_t __C_ctype_tolower_data[] = {
248, 249, 250, 251,
252, 253, 254, 255
};
-libc_hidden_data_def(__C_ctype_tolower_data)
/* libc_hidden_proto(__C_ctype_tolower) */
const __ctype_touplow_t *__C_ctype_tolower =
@@ -999,11 +994,7 @@ libc_hidden_data_def(__ctype_tolower)
/**********************************************************************/
#ifdef L___C_ctype_toupper
-//vda:TODO: make static
-
-extern const __ctype_touplow_t __C_ctype_toupper_data[];
-libc_hidden_proto(__C_ctype_toupper_data)
-const __ctype_touplow_t __C_ctype_toupper_data[] = {
+static const __ctype_touplow_t __C_ctype_toupper_data[] = {
#ifdef __UCLIBC_HAS_CTYPE_SIGNED__
-128, -127, -126, -125,
-124, -123, -122, -121,
@@ -1103,7 +1094,6 @@ const __ctype_touplow_t __C_ctype_toupper_data[] = {
248, 249, 250, 251,
252, 253, 254, 255
};
-libc_hidden_data_def(__C_ctype_toupper_data)
/* libc_hidden_proto(__C_ctype_toupper) */
const __ctype_touplow_t *__C_ctype_toupper =
diff --git a/libc/stdio/fwprintf.c b/libc/stdio/fwprintf.c
index a5f09cd2d..6bae0c7a4 100644
--- a/libc/stdio/fwprintf.c
+++ b/libc/stdio/fwprintf.c
@@ -22,3 +22,4 @@ int fwprintf(FILE * __restrict stream, const wchar_t * __restrict format, ...)
return rv;
}
+libc_hidden_def(fwprintf)