summaryrefslogtreecommitdiff
path: root/libc/stdio/fputc.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-11-25 00:53:38 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-11-25 00:53:38 +0000
commit5c2de4b255999bc1d6d76cc87edd8c37b72231ab (patch)
tree9f79f787e98ff04d44b2abb5a98f5c8eaec2bd10 /libc/stdio/fputc.c
parentfe76834d374746e8a43b4be5a5e5e9ff42fe77c1 (diff)
Change internal name __f[ge,pu]tc_unlocked to __libc_x
Diffstat (limited to 'libc/stdio/fputc.c')
-rw-r--r--libc/stdio/fputc.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/libc/stdio/fputc.c b/libc/stdio/fputc.c
index 82215f465..46ebb163c 100644
--- a/libc/stdio/fputc.c
+++ b/libc/stdio/fputc.c
@@ -14,7 +14,7 @@
#ifdef __DO_UNLOCKED
-int attribute_hidden __fputc_unlocked(int c, register FILE *stream)
+int attribute_hidden __libc_fputc_unlocked(int c, register FILE *stream)
{
__STDIO_STREAM_VALIDATE(stream);
@@ -69,11 +69,12 @@ int attribute_hidden __fputc_unlocked(int c, register FILE *stream)
return EOF;
}
-weak_alias(__fputc_unlocked,fputc_unlocked);
-weak_alias(__fputc_unlocked,putc_unlocked);
+strong_alias(__libc_fputc_unlocked,__fputc_unlocked)
+weak_alias(__fputc_unlocked,fputc_unlocked)
+weak_alias(__fputc_unlocked,putc_unlocked)
#ifndef __UCLIBC_HAS_THREADS__
-weak_alias(__fputc_unlocked,fputc);
-weak_alias(__fputc_unlocked,putc);
+weak_alias(__fputc_unlocked,fputc)
+weak_alias(__fputc_unlocked,putc)
#endif
#elif defined __UCLIBC_HAS_THREADS__
@@ -91,6 +92,6 @@ int fputc(int c, register FILE *stream)
}
}
-weak_alias(fputc,putc);
+weak_alias(fputc,putc)
#endif