summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-11-29 21:24:21 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-11-29 21:24:21 +0000
commitd763ce093b09afacb87498c2db21d6ce3df72a4f (patch)
treed53f6870bb63d4d415c6e1b5cf5a4080c89d6b00
parent32167ca3b6a36c0922bea30b2c44e78ccd5290ae (diff)
fix improperly hidden fputc_unlocked
-rw-r--r--libc/stdio/fgetc.c2
-rw-r--r--libc/stdio/fputc.c4
2 files changed, 2 insertions, 4 deletions
diff --git a/libc/stdio/fgetc.c b/libc/stdio/fgetc.c
index 89c8fe35a..dfe57a6cd 100644
--- a/libc/stdio/fgetc.c
+++ b/libc/stdio/fgetc.c
@@ -79,7 +79,7 @@ libc_hidden_def(__fgetc_unlocked)
strong_alias(__fgetc_unlocked,fgetc_unlocked)
libc_hidden_def(fgetc_unlocked)
-//libc_hidden_proto(__getc_unlocked)
+///* libc_hidden_proto(__getc_unlocked) */
//strong_alias(__fgetc_unlocked,__getc_unlocked)
//libc_hidden_def(__getc_unlocked)
diff --git a/libc/stdio/fputc.c b/libc/stdio/fputc.c
index 09d8ee138..f426161d2 100644
--- a/libc/stdio/fputc.c
+++ b/libc/stdio/fputc.c
@@ -72,11 +72,9 @@ int __fputc_unlocked(int c, register FILE *stream)
}
libc_hidden_def(__fputc_unlocked)
-/* exposing these would be fundamentally *wrong*! fix you, instead! */
/* libc_hidden_proto(fputc_unlocked) */
strong_alias(__fputc_unlocked,fputc_unlocked)
-/* exposing these would be fundamentally *wrong*! fix you, instead! */
-/* libc_hidden_def(fputc_unlocked) */
+libc_hidden_def(fputc_unlocked)
/* libc_hidden_proto(putc_unlocked) */
strong_alias(__fputc_unlocked,putc_unlocked)