summaryrefslogtreecommitdiff
path: root/libc/stdio
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-12-22 14:03:06 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-12-22 14:03:06 +0000
commit1a0edbb3f68b227f45af541720e5585d22e3a813 (patch)
treead78a571856a486523e4a1ea7d500bea0e52f7b4 /libc/stdio
parente2f06f4eb0b7e50ea461f3cff9b79e20c14c0544 (diff)
- provide a hidden_def for fputc_unlocked that is aliased to __fputc_unlocked.
Fixes undefined references to __fputc_unlocked when calling fputc().
Diffstat (limited to 'libc/stdio')
-rw-r--r--libc/stdio/fputc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/stdio/fputc.c b/libc/stdio/fputc.c
index 8c80bff27..fd688342e 100644
--- a/libc/stdio/fputc.c
+++ b/libc/stdio/fputc.c
@@ -72,7 +72,9 @@ int __fputc_unlocked(int c, register FILE *stream)
}
libc_hidden_def(__fputc_unlocked)
+libc_hidden_proto(fputc_unlocked)
strong_alias(__fputc_unlocked,fputc_unlocked)
+libc_hidden_def(fputc_unlocked)
libc_hidden_proto(putc_unlocked)
strong_alias(__fputc_unlocked,putc_unlocked)