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
/
__errno_location.c
diff --git
a/libc/misc/internals/__errno_location.c
b/libc/misc/internals/__errno_location.c
index
9bbc2d7
..
6c359f9
100644
(file)
--- a/
libc/misc/internals/__errno_location.c
+++ b/
libc/misc/internals/__errno_location.c
@@
-12,7
+12,7
@@
extern int errno;
#endif
-int *__errno_location(void)
+int
weak_const_function
*__errno_location(void)
{
return &errno;
}