OSDN Git Service

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