OSDN Git Service

weak symbols need to be "defined" weak but "declared" strong
[uclinux-h8/uClibc.git] / libc / misc / internals / __errno_location.c
index 9bbc2d7..6c359f9 100644 (file)
@@ -12,7 +12,7 @@
 extern int errno;
 #endif
 
-int *__errno_location(void)
+int weak_const_function *__errno_location(void)
 {
     return &errno;
 }