summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libc/misc/internals/errno.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/misc/internals/errno.c b/libc/misc/internals/errno.c
index fd9bf170c..fcf143fb5 100644
--- a/libc/misc/internals/errno.c
+++ b/libc/misc/internals/errno.c
@@ -8,8 +8,8 @@ int errno = 0;
int h_errno = 0;
#ifdef __UCLIBC_HAS_THREADS__
-//weak_alias(_errno, errno)
libc_hidden_def(errno)
-//weak_alias(_h_errno, h_errno)
+weak_alias(errno, _errno)
libc_hidden_def(h_errno)
+weak_alias(h_errno, _h_errno)
#endif