summaryrefslogtreecommitdiff
path: root/libc/stdio/ungetc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdio/ungetc.c')
-rw-r--r--libc/stdio/ungetc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/stdio/ungetc.c b/libc/stdio/ungetc.c
index 1b9197a18..de3f1d16b 100644
--- a/libc/stdio/ungetc.c
+++ b/libc/stdio/ungetc.c
@@ -24,7 +24,7 @@
* (See section 7.19.6.2 of the C9X rationale -- WG14/N897.)
*/
-int ungetc(int c, register FILE *stream)
+int attribute_hidden __ungetc(int c, register FILE *stream)
{
__STDIO_AUTO_THREADLOCK_VAR;
@@ -75,3 +75,4 @@ int ungetc(int c, register FILE *stream)
return c;
}
+strong_alias(__ungetc,ungetc)