summaryrefslogtreecommitdiff
path: root/libc/misc/internals
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-02-02 13:47:57 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-02-02 13:47:57 +0000
commit9e2b0f0f803bbec45ab0cc4e9829e2fafc467df3 (patch)
treeacee459e2db1e10b0741e5165f106b154f87418e /libc/misc/internals
parente4e43d658d5c1be914a331010d6f113bdb8624d0 (diff)
even the hidden version of the weaks in libc (as strong in libpthread) have to be weaks
Diffstat (limited to 'libc/misc/internals')
-rw-r--r--libc/misc/internals/__errno_location.c2
-rw-r--r--libc/misc/internals/__h_errno_location.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libc/misc/internals/__errno_location.c b/libc/misc/internals/__errno_location.c
index b0ff6dc6d..cd2a9c0eb 100644
--- a/libc/misc/internals/__errno_location.c
+++ b/libc/misc/internals/__errno_location.c
@@ -8,5 +8,5 @@ int * weak_const_function __errno_location (void)
return &errno;
}
#ifdef IS_IN_libc /* not really need, only to keep in sync w/ libc_hidden_proto */
-libc_hidden_def(__errno_location)
+libc_hidden_weak(__errno_location)
#endif
diff --git a/libc/misc/internals/__h_errno_location.c b/libc/misc/internals/__h_errno_location.c
index 1fae93459..96f51ae5c 100644
--- a/libc/misc/internals/__h_errno_location.c
+++ b/libc/misc/internals/__h_errno_location.c
@@ -10,4 +10,4 @@ int * weak_const_function __h_errno_location (void)
{
return &h_errno;
}
-libc_hidden_def(__h_errno_location)
+libc_hidden_weak(__h_errno_location)