diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2006-01-14 19:45:02 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2006-01-14 19:45:02 +0000 |
commit | 6f7dc709ed7e403af224b0fbb91e9619629eb2ec (patch) | |
tree | 349296ed6e3d73f390409bf96fa4269d1ac20ec7 /libc/stdio/scanf.c | |
parent | 2d997660372123ab6ac1ee519b22fe015eaa787b (diff) |
make DODEBUG=y happy, update sysdeps/common/* copyright
Diffstat (limited to 'libc/stdio/scanf.c')
-rw-r--r-- | libc/stdio/scanf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/stdio/scanf.c b/libc/stdio/scanf.c index 8def91c6b..0062d3c16 100644 --- a/libc/stdio/scanf.c +++ b/libc/stdio/scanf.c @@ -160,6 +160,7 @@ _stdlib_strto_l(register const char * __restrict str, /**********************************************************************/ #ifdef L_fscanf +libc_hidden_proto(fscanf) int fscanf(FILE * __restrict stream, const char * __restrict format, ...) { va_list arg; @@ -171,7 +172,6 @@ int fscanf(FILE * __restrict stream, const char * __restrict format, ...) return rv; } -libc_hidden_proto(fscanf) libc_hidden_def(fscanf) #endif @@ -196,6 +196,7 @@ int scanf(const char * __restrict format, ...) #ifdef __STDIO_HAS_VSSCANF +libc_hidden_proto(sscanf) int sscanf(const char * __restrict str, const char * __restrict format, ...) { va_list arg; @@ -207,7 +208,6 @@ int sscanf(const char * __restrict str, const char * __restrict format, ...) return rv; } -libc_hidden_proto(sscanf) libc_hidden_def(sscanf) #else /* __STDIO_HAS_VSSCANF */ @@ -218,11 +218,11 @@ libc_hidden_def(sscanf) /**********************************************************************/ #ifdef L_vscanf +libc_hidden_proto(vscanf) int vscanf(const char * __restrict format, va_list arg) { return vfscanf(stdin, format, arg); } -libc_hidden_proto(vscanf) libc_hidden_def(vscanf) #endif |