@@ -59,11 +59,8 @@ __BEGIN_DECLS
/* Function to get address of global `h_errno' variable. */
extern int *__h_errno_location (void) __THROW __attribute__ ((__const__));
#ifdef _LIBC
-# if !defined(__UCLIBC_HAS_TLS__) && !defined(__UCLIBC_HAS_THREADS__)
extern int weak_const_function *__h_errno_location(void);
-# endif
#endif
-libc_hidden_proto(__h_errno_location)
/* Macros for accessing h_errno from inside libc. */
#ifdef _LIBC
@@ -16,4 +16,3 @@ int *__errno_location(void)
{
return &errno;
}
-libc_hidden_weak(__errno_location)
@@ -16,4 +16,3 @@ int *__h_errno_location(void)
{
return &h_errno;
}
-libc_hidden_weak(__h_errno_location)
@@ -43,11 +43,8 @@
/* Function to get address of global `errno' variable. */
extern int *__errno_location (void) __THROW __attribute__ ((__const__));
# ifdef _LIBC
-# if !defined(__UCLIBC_HAS_TLS__) && !defined(__UCLIBC_HAS_THREADS__)
extern int weak_const_function *__errno_location(void);
-# endif
# endif
-libc_hidden_proto(__errno_location)
# ifdef __UCLIBC_HAS_THREADS__
/* When using threads, errno is a per-thread value. */