summaryrefslogtreecommitdiff
path: root/libc/stdio/fputc.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-01-14 19:45:02 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-01-14 19:45:02 +0000
commit6f7dc709ed7e403af224b0fbb91e9619629eb2ec (patch)
tree349296ed6e3d73f390409bf96fa4269d1ac20ec7 /libc/stdio/fputc.c
parent2d997660372123ab6ac1ee519b22fe015eaa787b (diff)
make DODEBUG=y happy, update sysdeps/common/* copyright
Diffstat (limited to 'libc/stdio/fputc.c')
-rw-r--r--libc/stdio/fputc.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/libc/stdio/fputc.c b/libc/stdio/fputc.c
index c30c0a12a..bbc72ab86 100644
--- a/libc/stdio/fputc.c
+++ b/libc/stdio/fputc.c
@@ -12,6 +12,8 @@
#undef putc
#undef putc_unlocked
+libc_hidden_proto(__fputc_unlocked)
+
#ifdef __DO_UNLOCKED
int __fputc_unlocked(int c, register FILE *stream)
@@ -68,7 +70,6 @@ int __fputc_unlocked(int c, register FILE *stream)
BAD:
return EOF;
}
-libc_hidden_proto(__fputc_unlocked)
libc_hidden_def(__fputc_unlocked)
strong_alias(__fputc_unlocked,fputc_unlocked)
@@ -86,8 +87,7 @@ libc_hidden_def(putc)
#elif defined __UCLIBC_HAS_THREADS__
-libc_hidden_proto(__fputc_unlocked)
-
+libc_hidden_proto(fputc)
int fputc(int c, register FILE *stream)
{
if (stream->__user_locking != 0) {
@@ -100,7 +100,6 @@ int fputc(int c, register FILE *stream)
return retval;
}
}
-libc_hidden_proto(fputc)
libc_hidden_def(fputc)
strong_alias(fputc,putc)