summaryrefslogtreecommitdiffstats
path: root/libc/stdio/ungetc.c
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2006-02-26 03:57:14 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2006-02-26 03:57:14 +0000
commit9921832fa13cef31006cfa69bc5574636c36ac0f (patch)
tree4faa87a1fbc9842126d3bdc61c0d64285ebcc849 /libc/stdio/ungetc.c
parent292e2d7a707449b531422d37cec4608d304da24e (diff)
downloaduClibc-alpine-9921832fa13cef31006cfa69bc5574636c36ac0f.tar.bz2
uClibc-alpine-9921832fa13cef31006cfa69bc5574636c36ac0f.tar.xz
Merge from trunk.
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..d900928b2 100644
--- a/libc/stdio/ungetc.c
+++ b/libc/stdio/ungetc.c
@@ -24,7 +24,8 @@
* (See section 7.19.6.2 of the C9X rationale -- WG14/N897.)
*/
-int attribute_hidden __ungetc(int c, register FILE *stream)
+libc_hidden_proto(ungetc)
+int ungetc(int c, register FILE *stream)
{
__STDIO_AUTO_THREADLOCK_VAR;
@@ -75,4 +76,4 @@ int attribute_hidden __ungetc(int c, register FILE *stream)
return c;
}
-strong_alias(__ungetc,ungetc)
+libc_hidden_def(ungetc)