summaryrefslogtreecommitdiff
path: root/libc/stdio/fgetc.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/fgetc.c
parent2d997660372123ab6ac1ee519b22fe015eaa787b (diff)
make DODEBUG=y happy, update sysdeps/common/* copyright
Diffstat (limited to 'libc/stdio/fgetc.c')
-rw-r--r--libc/stdio/fgetc.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/libc/stdio/fgetc.c b/libc/stdio/fgetc.c
index 599d12b30..eb8c58254 100644
--- a/libc/stdio/fgetc.c
+++ b/libc/stdio/fgetc.c
@@ -13,6 +13,8 @@
#undef getc
#undef getc_unlocked
+libc_hidden_proto(__fgetc_unlocked)
+
#ifdef __DO_UNLOCKED
libc_hidden_proto(fflush_unlocked)
@@ -71,7 +73,6 @@ int __fgetc_unlocked(FILE *stream)
return EOF;
}
-libc_hidden_proto(__fgetc_unlocked)
libc_hidden_def(__fgetc_unlocked)
strong_alias(__fgetc_unlocked,fgetc_unlocked)
@@ -94,8 +95,7 @@ strong_alias(__fgetc_unlocked,getc)
#elif defined __UCLIBC_HAS_THREADS__
-libc_hidden_proto(__fgetc_unlocked)
-
+libc_hidden_proto(fgetc)
int fgetc(register FILE *stream)
{
if (stream->__user_locking != 0) {
@@ -108,7 +108,6 @@ int fgetc(register FILE *stream)
return retval;
}
}
-libc_hidden_proto(fgetc)
libc_hidden_def(fgetc)
strong_alias(fgetc,getc)