svn commit: r202667 - stable/7/lib/libc/stdio
Xin LI
delphij at FreeBSD.org
Wed Jan 20 00:54:51 UTC 2010
Author: delphij
Date: Wed Jan 20 00:54:51 2010
New Revision: 202667
URL: http://svn.freebsd.org/changeset/base/202667
Log:
MFC r200799:
K&R -> ANSI prototype.
Modified:
stable/7/lib/libc/stdio/vsscanf.c
Directory Properties:
stable/7/lib/libc/ (props changed)
stable/7/lib/libc/stdtime/ (props changed)
Modified: stable/7/lib/libc/stdio/vsscanf.c
==============================================================================
--- stable/7/lib/libc/stdio/vsscanf.c Wed Jan 20 00:53:44 2010 (r202666)
+++ stable/7/lib/libc/stdio/vsscanf.c Wed Jan 20 00:54:51 2010 (r202667)
@@ -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;
struct __sFILEX ext;
More information about the svn-src-stable-7
mailing list