summaryrefslogtreecommitdiff
path: root/libc/misc
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc')
-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)