OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
weak symbols need to be "defined" weak but "declared" strong
[uclinux-h8/uClibc.git]
/
libc
/
misc
/
internals
/
__h_errno_location.c
diff --git
a/libc/misc/internals/__h_errno_location.c
b/libc/misc/internals/__h_errno_location.c
index
b30859e
..
c510c81
100644
(file)
--- a/
libc/misc/internals/__h_errno_location.c
+++ b/
libc/misc/internals/__h_errno_location.c
@@
-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;
}