diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-11-20 22:07:43 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-11-20 22:07:43 +0000 |
commit | b133fe1cac9f99b63ea56daf92caa1423b1289d0 (patch) | |
tree | 3434fe3fee6b02c3c7006c91366ac7708810a656 /libc/stdio | |
parent | 2cced20a74b0fd22fd34254e5d92ce06e2cfb60d (diff) |
next portion of libc_hidden_proto removal
Diffstat (limited to 'libc/stdio')
-rw-r--r-- | libc/stdio/_READ.c | 2 | ||||
-rw-r--r-- | libc/stdio/_WRITE.c | 2 | ||||
-rw-r--r-- | libc/stdio/_cs_funcs.c | 6 | ||||
-rw-r--r-- | libc/stdio/_fopen.c | 4 | ||||
-rw-r--r-- | libc/stdio/fdopen.c | 2 | ||||
-rw-r--r-- | libc/stdio/fgets.c | 4 | ||||
-rw-r--r-- | libc/stdio/fopen.c | 2 | ||||
-rw-r--r-- | libc/stdio/fprintf.c | 2 | ||||
-rw-r--r-- | libc/stdio/fputs.c | 4 | ||||
-rw-r--r-- | libc/stdio/old_vfprintf.c | 2 | ||||
-rw-r--r-- | libc/stdio/perror.c | 2 | ||||
-rw-r--r-- | libc/stdio/popen.c | 2 | ||||
-rw-r--r-- | libc/stdio/printf.c | 4 | ||||
-rw-r--r-- | libc/stdio/sprintf.c | 2 | ||||
-rw-r--r-- | libc/stdio/vasprintf.c | 2 | ||||
-rw-r--r-- | libc/stdio/vdprintf.c | 2 | ||||
-rw-r--r-- | libc/stdio/vprintf.c | 2 | ||||
-rw-r--r-- | libc/stdio/vsnprintf.c | 2 |
18 files changed, 24 insertions, 24 deletions
diff --git a/libc/stdio/_READ.c b/libc/stdio/_READ.c index 09fca91c7..0531b2ef2 100644 --- a/libc/stdio/_READ.c +++ b/libc/stdio/_READ.c @@ -7,7 +7,7 @@ #include "_stdio.h" -libc_hidden_proto(read) +/* libc_hidden_proto(read) */ /* libc_hidden_proto(abort) */ /* Given a reading stream without its end-of-file indicator set and diff --git a/libc/stdio/_WRITE.c b/libc/stdio/_WRITE.c index 83714bd4c..3d6174325 100644 --- a/libc/stdio/_WRITE.c +++ b/libc/stdio/_WRITE.c @@ -7,7 +7,7 @@ #include "_stdio.h" -libc_hidden_proto(write) +/* libc_hidden_proto(write) */ /* Given a writing stream with no buffered output, write the * data in 'buf' (which may be the stream's bufstart) of size diff --git a/libc/stdio/_cs_funcs.c b/libc/stdio/_cs_funcs.c index 8f83aa229..3cca7b9af 100644 --- a/libc/stdio/_cs_funcs.c +++ b/libc/stdio/_cs_funcs.c @@ -7,13 +7,13 @@ #include "_stdio.h" -libc_hidden_proto(read) -libc_hidden_proto(write) +/* libc_hidden_proto(read) */ +/* libc_hidden_proto(write) */ /* libc_hidden_proto(close) */ #ifdef __UCLIBC_HAS_LFS__ libc_hidden_proto(lseek64) #else -libc_hidden_proto(lseek) +/* libc_hidden_proto(lseek) */ #endif /**********************************************************************/ diff --git a/libc/stdio/_fopen.c b/libc/stdio/_fopen.c index 5243e33f7..d3240b77b 100644 --- a/libc/stdio/_fopen.c +++ b/libc/stdio/_fopen.c @@ -8,8 +8,8 @@ #include "_stdio.h" libc_hidden_proto(isatty) -libc_hidden_proto(open) -libc_hidden_proto(fcntl) +/* libc_hidden_proto(open) */ +/* libc_hidden_proto(fcntl) */ /* * Cases: diff --git a/libc/stdio/fdopen.c b/libc/stdio/fdopen.c index 635ab803d..fcd21f707 100644 --- a/libc/stdio/fdopen.c +++ b/libc/stdio/fdopen.c @@ -8,7 +8,7 @@ #include "_stdio.h" libc_hidden_proto(fdopen) -libc_hidden_proto(fcntl) +/* libc_hidden_proto(fcntl) */ FILE *fdopen(int filedes, const char *mode) { diff --git a/libc/stdio/fgets.c b/libc/stdio/fgets.c index 5acaf91ed..5eb1aac31 100644 --- a/libc/stdio/fgets.c +++ b/libc/stdio/fgets.c @@ -64,14 +64,14 @@ char *fgets_unlocked(char *__restrict s, int n, libc_hidden_def(fgets_unlocked) #ifndef __UCLIBC_HAS_THREADS__ -libc_hidden_proto(fgets) +/* libc_hidden_proto(fgets) */ strong_alias(fgets_unlocked,fgets) libc_hidden_def(fgets) #endif #elif defined __UCLIBC_HAS_THREADS__ -libc_hidden_proto(fgets) +/* libc_hidden_proto(fgets) */ char *fgets(char *__restrict s, int n, register FILE * __restrict stream) { diff --git a/libc/stdio/fopen.c b/libc/stdio/fopen.c index ec14b5956..b5fc85af9 100644 --- a/libc/stdio/fopen.c +++ b/libc/stdio/fopen.c @@ -14,7 +14,7 @@ #undef fopen64 #endif -libc_hidden_proto(fopen) +/* libc_hidden_proto(fopen) */ FILE *fopen(const char * __restrict filename, const char * __restrict mode) { return _stdio_fopen(((intptr_t) filename), mode, NULL, FILEDES_ARG); diff --git a/libc/stdio/fprintf.c b/libc/stdio/fprintf.c index b10340f65..4e3246ec8 100644 --- a/libc/stdio/fprintf.c +++ b/libc/stdio/fprintf.c @@ -8,7 +8,7 @@ #include "_stdio.h" #include <stdarg.h> -libc_hidden_proto(vfprintf) +/* libc_hidden_proto(vfprintf) */ /* libc_hidden_proto(fprintf) */ int fprintf(FILE * __restrict stream, const char * __restrict format, ...) diff --git a/libc/stdio/fputs.c b/libc/stdio/fputs.c index 8a5fd4087..553fb2eb9 100644 --- a/libc/stdio/fputs.c +++ b/libc/stdio/fputs.c @@ -29,14 +29,14 @@ int fputs_unlocked(register const char * __restrict s, libc_hidden_def(fputs_unlocked) #ifndef __UCLIBC_HAS_THREADS__ -libc_hidden_proto(fputs) +/* libc_hidden_proto(fputs) */ strong_alias(fputs_unlocked,fputs) libc_hidden_def(fputs) #endif #elif defined __UCLIBC_HAS_THREADS__ -libc_hidden_proto(fputs) +/* libc_hidden_proto(fputs) */ int fputs(const char * __restrict s, register FILE * __restrict stream) { int retval; diff --git a/libc/stdio/old_vfprintf.c b/libc/stdio/old_vfprintf.c index a7ec28d8d..17969a4fa 100644 --- a/libc/stdio/old_vfprintf.c +++ b/libc/stdio/old_vfprintf.c @@ -343,7 +343,7 @@ static const char u_spec[] = "%nbopxXudics"; /* u_radix[i] <-> u_spec[i+2] for unsigned entries only */ static const char u_radix[] = "\x02\x08\x10\x10\x10\x0a"; -libc_hidden_proto(vfprintf) +/* libc_hidden_proto(vfprintf) */ int vfprintf(FILE * __restrict op, register const char * __restrict fmt, va_list ap) { diff --git a/libc/stdio/perror.c b/libc/stdio/perror.c index 46881ea85..0f63c40bf 100644 --- a/libc/stdio/perror.c +++ b/libc/stdio/perror.c @@ -14,7 +14,7 @@ libc_hidden_proto(__glibc_strerror_r) #warning CONSIDER: Increase buffer size for error message (non-%m case)? #endif -libc_hidden_proto(perror) +/* libc_hidden_proto(perror) */ void perror(register const char *s) { /* If the program is calling perror, it's a safe bet that printf and diff --git a/libc/stdio/popen.c b/libc/stdio/popen.c index fc6979375..21b1231ea 100644 --- a/libc/stdio/popen.c +++ b/libc/stdio/popen.c @@ -27,7 +27,7 @@ #endif /* __UCLIBC_MJN3_ONLY__ */ /* libc_hidden_proto(close) */ -libc_hidden_proto(_exit) +/* libc_hidden_proto(_exit) */ libc_hidden_proto(waitpid) libc_hidden_proto(execl) libc_hidden_proto(dup2) diff --git a/libc/stdio/printf.c b/libc/stdio/printf.c index 617561fec..2f4a36e95 100644 --- a/libc/stdio/printf.c +++ b/libc/stdio/printf.c @@ -8,9 +8,9 @@ #include "_stdio.h" #include <stdarg.h> -libc_hidden_proto(vfprintf) +/* libc_hidden_proto(vfprintf) */ -libc_hidden_proto(printf) +/* libc_hidden_proto(printf) */ int printf(const char * __restrict format, ...) { va_list arg; diff --git a/libc/stdio/sprintf.c b/libc/stdio/sprintf.c index 360245366..2528720e4 100644 --- a/libc/stdio/sprintf.c +++ b/libc/stdio/sprintf.c @@ -14,7 +14,7 @@ libc_hidden_proto(vsnprintf) -libc_hidden_proto(sprintf) +/* libc_hidden_proto(sprintf) */ int sprintf(char *__restrict buf, const char * __restrict format, ...) { va_list arg; diff --git a/libc/stdio/vasprintf.c b/libc/stdio/vasprintf.c index 98ca6c2a7..3c8256870 100644 --- a/libc/stdio/vasprintf.c +++ b/libc/stdio/vasprintf.c @@ -25,7 +25,7 @@ #ifdef __UCLIBC_HAS_GLIBC_CUSTOM_STREAMS__ libc_hidden_proto(open_memstream) /* libc_hidden_proto(fclose) */ -libc_hidden_proto(vfprintf) +/* libc_hidden_proto(vfprintf) */ #else libc_hidden_proto(vsnprintf) #endif diff --git a/libc/stdio/vdprintf.c b/libc/stdio/vdprintf.c index 6e28b14c0..f00df05bc 100644 --- a/libc/stdio/vdprintf.c +++ b/libc/stdio/vdprintf.c @@ -12,7 +12,7 @@ #include <stdarg.h> #ifdef __USE_OLD_VFPRINTF__ -libc_hidden_proto(vfprintf) +/* libc_hidden_proto(vfprintf) */ #endif libc_hidden_proto(fflush_unlocked) diff --git a/libc/stdio/vprintf.c b/libc/stdio/vprintf.c index 7848a078d..b01b2310f 100644 --- a/libc/stdio/vprintf.c +++ b/libc/stdio/vprintf.c @@ -8,7 +8,7 @@ #include "_stdio.h" #include <stdarg.h> -libc_hidden_proto(vfprintf) +/* libc_hidden_proto(vfprintf) */ int vprintf(const char * __restrict format, va_list arg) { diff --git a/libc/stdio/vsnprintf.c b/libc/stdio/vsnprintf.c index f7d2349c1..06636c2f1 100644 --- a/libc/stdio/vsnprintf.c +++ b/libc/stdio/vsnprintf.c @@ -11,7 +11,7 @@ libc_hidden_proto(vsnprintf) #ifdef __USE_OLD_VFPRINTF__ -libc_hidden_proto(vfprintf) +/* libc_hidden_proto(vfprintf) */ #endif #ifdef __UCLIBC_MJN3_ONLY__ |