summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libc/stdio/getchar.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/stdio/getchar.c b/libc/stdio/getchar.c
index a8c39f8db..e29c426c8 100644
--- a/libc/stdio/getchar.c
+++ b/libc/stdio/getchar.c
@@ -21,6 +21,7 @@ int getchar_unlocked(void)
return __GETC_UNLOCKED_MACRO(stream);
}
+libc_hidden_def(getchar_unlocked)
#ifndef __UCLIBC_HAS_THREADS__
strong_alias(getchar_unlocked,getchar)