diff options
author | delphij <delphij@FreeBSD.org> | 2009-12-21 19:55:05 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2009-12-21 19:55:05 +0000 |
commit | 71977347f2ff3650a930308e5154ffc9096f72c8 (patch) | |
tree | ba31b0545b63cecb9309e8c62d6113a4a92bf772 /lib/libc/stdio/vsscanf.c | |
parent | 0d4c4761d713cec971ba84f7ac34beea73f08da0 (diff) | |
download | FreeBSD-src-71977347f2ff3650a930308e5154ffc9096f72c8.zip FreeBSD-src-71977347f2ff3650a930308e5154ffc9096f72c8.tar.gz |
K&R -> ANSI prototype.
MFC after: 1 month
Diffstat (limited to 'lib/libc/stdio/vsscanf.c')
-rw-r--r-- | lib/libc/stdio/vsscanf.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/lib/libc/stdio/vsscanf.c b/lib/libc/stdio/vsscanf.c index e5e9691..22b5d2b 100644 --- a/lib/libc/stdio/vsscanf.c +++ b/lib/libc/stdio/vsscanf.c @@ -45,20 +45,15 @@ eofread(void *, char *, int); /* ARGSUSED */ static int -eofread(cookie, buf, len) - void *cookie; - char *buf; - int len; +eofread(void *cookie, char *buf, int len) { return (0); } int -vsscanf(str, fmt, ap) - const char * __restrict str; - const char * __restrict fmt; - __va_list ap; +vsscanf(const char * __restrict str, const char * __restrict fmt, + __va_list ap) { FILE f; |