aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Peter S. Mazinger <ps.m@gmx.net>2011-03-14 22:59:44 +0100
committerGravatar Peter S. Mazinger <ps.m@gmx.net>2011-03-14 22:59:44 +0100
commitf02b3e74661911d5873d6ec4c54e6a54a634156e (patch)
treef2df0a3e42f8d664483329e3ef10134b24cbec04
parente2bd61a200a4bd1021c4c643daf314e547f3281a (diff)
downloaduClibc-f02b3e74661911d5873d6ec4c54e6a54a634156e.tar.gz
uClibc-f02b3e74661911d5873d6ec4c54e6a54a634156e.tar.bz2
fputc.c, stdio.h: no need for hidden putc, putc_unlocked and fputc_unlocked
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
-rw-r--r--include/stdio.h3
-rw-r--r--libc/stdio/fputc.c4
2 files changed, 0 insertions, 7 deletions
diff --git a/include/stdio.h b/include/stdio.h
index 45d3e4991..0333efdf8 100644
--- a/include/stdio.h
+++ b/include/stdio.h
@@ -517,7 +517,6 @@ __BEGIN_NAMESPACE_STD
extern int fputc (int __c, FILE *__stream);
libc_hidden_proto(fputc)
extern int putc (int __c, FILE *__stream);
-libc_hidden_proto(putc)
/* Write a character to stdout.
@@ -538,7 +537,6 @@ __END_NAMESPACE_STD
or due to the implementation it is a cancellation point and
therefore not marked with __THROW. */
extern int fputc_unlocked (int __c, FILE *__stream);
-libc_hidden_proto(fputc_unlocked)
#endif /* Use MISC. */
#if defined __USE_POSIX || defined __USE_MISC
@@ -547,7 +545,6 @@ libc_hidden_proto(fputc_unlocked)
These functions are possible cancellation points and therefore not
marked with __THROW. */
extern int putc_unlocked (int __c, FILE *__stream);
-libc_hidden_proto(putc_unlocked)
extern int putchar_unlocked (int __c);
/* SUSv3 allows putc_unlocked to be a macro */
diff --git a/libc/stdio/fputc.c b/libc/stdio/fputc.c
index b49f868f1..7876d77af 100644
--- a/libc/stdio/fputc.c
+++ b/libc/stdio/fputc.c
@@ -72,16 +72,13 @@ int __fputc_unlocked(int c, register FILE *stream)
libc_hidden_def(__fputc_unlocked)
strong_alias(__fputc_unlocked,fputc_unlocked)
-libc_hidden_def(fputc_unlocked)
strong_alias(__fputc_unlocked,putc_unlocked)
-libc_hidden_def(putc_unlocked)
#ifndef __UCLIBC_HAS_THREADS__
strong_alias(__fputc_unlocked,fputc)
libc_hidden_def(fputc)
strong_alias(__fputc_unlocked,putc)
-libc_hidden_def(putc)
#endif
#elif defined __UCLIBC_HAS_THREADS__
@@ -101,6 +98,5 @@ int fputc(int c, register FILE *stream)
libc_hidden_def(fputc)
strong_alias(fputc,putc)
-libc_hidden_def(putc)
#endif