summaryrefslogtreecommitdiff
path: root/libc/misc
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-01-16 00:20:22 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-01-16 00:20:22 +0000
commit726b116dcac3d23fe05dca083c5412a595be8637 (patch)
tree567a6099c024db07414c8cd3242f975a64ee9287 /libc/misc
parent0d212a2b26a764bba1c8220ee84547247bd78ad8 (diff)
some global data relocs gone
Diffstat (limited to 'libc/misc')
-rw-r--r--libc/misc/error/error.c2
-rw-r--r--libc/misc/internals/__h_errno_location.c3
-rw-r--r--libc/misc/wctype/wctype.c10
3 files changed, 5 insertions, 10 deletions
diff --git a/libc/misc/error/error.c b/libc/misc/error/error.c
index 1c2585345..96c5dbe71 100644
--- a/libc/misc/error/error.c
+++ b/libc/misc/error/error.c
@@ -26,7 +26,7 @@
#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
-#include "error.h"
+#include <error.h>
libc_hidden_proto(strcmp)
libc_hidden_proto(strerror)
diff --git a/libc/misc/internals/__h_errno_location.c b/libc/misc/internals/__h_errno_location.c
index f4f598057..a57478ca9 100644
--- a/libc/misc/internals/__h_errno_location.c
+++ b/libc/misc/internals/__h_errno_location.c
@@ -3,8 +3,9 @@
#include <netdb.h>
#undef h_errno
+libc_hidden_proto(__h_errno_location)
int * weak_const_function __h_errno_location (void)
{
return &h_errno;
}
-
+libc_hidden_def(__h_errno_location)
diff --git a/libc/misc/wctype/wctype.c b/libc/misc/wctype/wctype.c
index f9feb3822..ad52cd3e7 100644
--- a/libc/misc/wctype/wctype.c
+++ b/libc/misc/wctype/wctype.c
@@ -39,6 +39,8 @@
#include <bits/uClibc_uwchar.h>
libc_hidden_proto(strcmp)
+libc_hidden_proto(tolower)
+libc_hidden_proto(toupper)
libc_hidden_proto(towlower)
libc_hidden_proto(towupper)
libc_hidden_proto(towctrans)
@@ -372,14 +374,12 @@ wint_t TOWLOWER(wint_t wc)
#endif /* SMALL_UPLOW */
#ifdef L_towlower_l
-//libc_hidden_proto(towlower_l)
libc_hidden_def(towlower_l)
#endif /* L_towlower_l */
#endif /* __LOCALE_C_ONLY */
#ifndef L_towlower_l
-//libc_hidden_proto(towlower)
libc_hidden_def(towlower)
#endif
@@ -482,14 +482,12 @@ wint_t TOWUPPER(wint_t wc)
#endif /* SMALL_UPLOW */
#ifdef L_towupper_l
-//libc_hidden_proto(towupper_l)
libc_hidden_def(towupper_l)
#endif /* L_towupper_l */
#endif /* __LOCALE_C_ONLY */
#ifndef L_towupper_l
-//libc_hidden_proto(towupper)
libc_hidden_def(towupper)
#endif
@@ -715,14 +713,12 @@ int ISWCTYPE(wint_t wc, wctype_t desc)
#endif /* defined(L_iswctype) && defined(__UCLIBC_HAS_XLOCALE__) */
#ifdef L_iswctype_l
-//libc_hidden_proto(iswctype_l)
libc_hidden_def(iswctype_l)
#endif /* L_iswctype_l */
#endif /* __LOCALE_C_ONLY */
#ifdef L_iswctype
-//libc_hidden_proto(iswctype)
libc_hidden_def(iswctype)
#endif /* L_iswctype */
@@ -890,14 +886,12 @@ wint_t TOWCTRANS(wint_t wc, wctrans_t desc)
#endif /* defined(L_towctrans) && defined(__UCLIBC_HAS_XLOCALE__) */
#ifdef L_towctrans_l
-//libc_hidden_proto(towctrans_l)
libc_hidden_def(towctrans_l)
#endif /* L_towctrans_l */
#endif /* __LOCALE_C_ONLY */
#ifndef L_towctrans_l
-//libc_hidden_proto(towctrans)
libc_hidden_def(towctrans)
#endif