|
@@ -43,11 +43,8 @@
|
|
/* Function to get address of global `errno' variable. */
|
|
/* Function to get address of global `errno' variable. */
|
|
extern int *__errno_location (void) __THROW __attribute__ ((__const__));
|
|
extern int *__errno_location (void) __THROW __attribute__ ((__const__));
|
|
# ifdef _LIBC
|
|
# ifdef _LIBC
|
|
-# if !defined(__UCLIBC_HAS_TLS__) && !defined(__UCLIBC_HAS_THREADS__)
|
|
|
|
extern int weak_const_function *__errno_location(void);
|
|
extern int weak_const_function *__errno_location(void);
|
|
-# endif
|
|
|
|
# endif
|
|
# endif
|
|
-libc_hidden_proto(__errno_location)
|
|
|
|
|
|
|
|
# ifdef __UCLIBC_HAS_THREADS__
|
|
# ifdef __UCLIBC_HAS_THREADS__
|
|
/* When using threads, errno is a per-thread value. */
|
|
/* When using threads, errno is a per-thread value. */
|