svn commit: r200799 - head/lib/libc/stdio

Xin LI delphij at FreeBSD.org
Mon Dec 21 19:55:05 UTC 2009


Author: delphij
Date: Mon Dec 21 19:55:05 2009
New Revision: 200799
URL: http://svn.freebsd.org/changeset/base/200799

Log:
  K&R -> ANSI prototype.
  
  MFC after:	1 month

Modified:
  head/lib/libc/stdio/vsscanf.c

Modified: head/lib/libc/stdio/vsscanf.c
==============================================================================
--- head/lib/libc/stdio/vsscanf.c	Mon Dec 21 19:50:29 2009	(r200798)
+++ head/lib/libc/stdio/vsscanf.c	Mon Dec 21 19:55:05 2009	(r200799)
@@ -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;
 


More information about the svn-src-head mailing list