OSDN Git Service

weak symbols need to be "defined" weak but "declared" strong
[uclinux-h8/uClibc.git] / libc / sysdeps / linux / common / bits / errno.h
index 611b835..7c0aeb1 100644 (file)
@@ -42,9 +42,6 @@
 # ifndef __ASSEMBLER__
 /* Function to get address of global `errno' variable.  */
 extern int *__errno_location (void) __THROW __attribute__ ((__const__));
-#  ifdef _LIBC
-extern int weak_const_function *__errno_location(void);
-#  endif
 
 #  ifdef __UCLIBC_HAS_THREADS__
 /* When using threads, errno is a per-thread value.  */