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.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/stdio/ungetc.c b/libc/stdio/ungetc.c
index de3f1d16b..5e7db7daa 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 attribute_hidden __ungetc(int c, register FILE *stream)
+int ungetc(int c, register FILE *stream)
{
__STDIO_AUTO_THREADLOCK_VAR;
@@ -75,4 +75,5 @@ int attribute_hidden __ungetc(int c, register FILE *stream)
return c;
}
-strong_alias(__ungetc,ungetc)
+libc_hidden_proto(ungetc)
+libc_hidden_def(ungetc)