From 1a0edbb3f68b227f45af541720e5585d22e3a813 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Fri, 22 Dec 2006 14:03:06 +0000 Subject: - provide a hidden_def for fputc_unlocked that is aliased to __fputc_unlocked. Fixes undefined references to __fputc_unlocked when calling fputc(). --- libc/stdio/fputc.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libc/stdio') 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) -- cgit v1.2.3