From 933df87e4e9a8d7f6901dd0417b0006c5b132439 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Tue, 18 Nov 2008 01:10:26 +0000 Subject: libc_hidden_proto removal, a few more functions --- libc/stdio/_scanf.c | 6 +++--- libc/stdio/_vfprintf.c | 6 +++--- libc/stdio/fclose.c | 2 +- libc/stdio/fcloseall.c | 2 +- libc/stdio/fprintf.c | 2 +- libc/stdio/freopen.c | 2 +- libc/stdio/perror.c | 2 +- libc/stdio/popen.c | 2 +- libc/stdio/vasprintf.c | 2 +- 9 files changed, 13 insertions(+), 13 deletions(-) (limited to 'libc/stdio') diff --git a/libc/stdio/_scanf.c b/libc/stdio/_scanf.c index 3b004d5f0..5b9e7008a 100644 --- a/libc/stdio/_scanf.c +++ b/libc/stdio/_scanf.c @@ -84,7 +84,7 @@ libc_hidden_proto(ungetc) libc_hidden_proto(vfscanf) libc_hidden_proto(vsscanf) -libc_hidden_proto(fclose) +/* libc_hidden_proto(fclose) */ libc_hidden_proto(getc_unlocked) libc_hidden_proto(__fgetc_unlocked) #ifdef __UCLIBC_HAS_WCHAR__ @@ -99,9 +99,9 @@ libc_hidden_proto(iswspace) libc_hidden_proto(fgetwc_unlocked) #endif #ifdef __UCLIBC_HAS_XLOCALE__ -libc_hidden_proto(__ctype_b_loc) +/* libc_hidden_proto(__ctype_b_loc) */ #elif defined __UCLIBC_HAS_CTYPE_TABLES__ -libc_hidden_proto(__ctype_b) +/* libc_hidden_proto(__ctype_b) */ #endif #ifdef __UCLIBC_HAS_SCANF_GLIBC_A_FLAG__ diff --git a/libc/stdio/_vfprintf.c b/libc/stdio/_vfprintf.c index 604e73c3b..9d7f99cad 100644 --- a/libc/stdio/_vfprintf.c +++ b/libc/stdio/_vfprintf.c @@ -729,9 +729,9 @@ void attribute_hidden _ppfs_setargs(register ppfs_t *ppfs) #ifdef L__ppfs_parsespec #ifdef __UCLIBC_HAS_XLOCALE__ -libc_hidden_proto(__ctype_b_loc) +/* libc_hidden_proto(__ctype_b_loc) */ #elif defined __UCLIBC_HAS_CTYPE_TABLES__ -libc_hidden_proto(__ctype_b) +/* libc_hidden_proto(__ctype_b) */ #endif /* Notes: argtype differs from glibc for the following: @@ -1860,7 +1860,7 @@ static int _do_one_spec(FILE * __restrict stream, return 0; } -libc_hidden_proto(fprintf) +/* libc_hidden_proto(fprintf) */ int VFPRINTF_internal (FILE * __restrict stream, const FMT_TYPE * __restrict format, diff --git a/libc/stdio/fclose.c b/libc/stdio/fclose.c index 45a614351..eadfe74de 100644 --- a/libc/stdio/fclose.c +++ b/libc/stdio/fclose.c @@ -6,7 +6,7 @@ */ #include "_stdio.h" -libc_hidden_proto(fclose) +/* libc_hidden_proto(fclose) */ /* libc_hidden_proto(close) */ libc_hidden_proto(fflush_unlocked) diff --git a/libc/stdio/fcloseall.c b/libc/stdio/fcloseall.c index d3cbb67f8..b13da31a1 100644 --- a/libc/stdio/fcloseall.c +++ b/libc/stdio/fcloseall.c @@ -10,7 +10,7 @@ #ifdef __USE_GNU #include "_stdio.h" -libc_hidden_proto(fclose) +/* libc_hidden_proto(fclose) */ /* NOTE: GLIBC difference!!! -- fcloseall * According to the info pages, glibc actually fclose()s all open files. diff --git a/libc/stdio/fprintf.c b/libc/stdio/fprintf.c index 4f73441e1..b10340f65 100644 --- a/libc/stdio/fprintf.c +++ b/libc/stdio/fprintf.c @@ -10,7 +10,7 @@ libc_hidden_proto(vfprintf) -libc_hidden_proto(fprintf) +/* libc_hidden_proto(fprintf) */ int fprintf(FILE * __restrict stream, const char * __restrict format, ...) { va_list arg; diff --git a/libc/stdio/freopen.c b/libc/stdio/freopen.c index 942a67991..d51a549b9 100644 --- a/libc/stdio/freopen.c +++ b/libc/stdio/freopen.c @@ -7,7 +7,7 @@ #include "_stdio.h" -libc_hidden_proto(fclose) +/* libc_hidden_proto(fclose) */ #ifndef __DO_LARGEFILE # define FILEDES_ARG (-1) diff --git a/libc/stdio/perror.c b/libc/stdio/perror.c index 993fcf428..46881ea85 100644 --- a/libc/stdio/perror.c +++ b/libc/stdio/perror.c @@ -7,7 +7,7 @@ #include "_stdio.h" -libc_hidden_proto(fprintf) +/* libc_hidden_proto(fprintf) */ libc_hidden_proto(__glibc_strerror_r) #ifdef __UCLIBC_MJN3_ONLY__ diff --git a/libc/stdio/popen.c b/libc/stdio/popen.c index 4fd25072a..fc6979375 100644 --- a/libc/stdio/popen.c +++ b/libc/stdio/popen.c @@ -34,7 +34,7 @@ libc_hidden_proto(dup2) libc_hidden_proto(fdopen) libc_hidden_proto(pipe) libc_hidden_proto(vfork) -libc_hidden_proto(fclose) +/* libc_hidden_proto(fclose) */ /* uClinux-2.0 has vfork, but Linux 2.0 doesn't */ #include diff --git a/libc/stdio/vasprintf.c b/libc/stdio/vasprintf.c index b7e2e0852..98ca6c2a7 100644 --- a/libc/stdio/vasprintf.c +++ b/libc/stdio/vasprintf.c @@ -24,7 +24,7 @@ #ifdef __UCLIBC_HAS_GLIBC_CUSTOM_STREAMS__ libc_hidden_proto(open_memstream) -libc_hidden_proto(fclose) +/* libc_hidden_proto(fclose) */ libc_hidden_proto(vfprintf) #else libc_hidden_proto(vsnprintf) -- cgit v1.2.3