svn commit: r202664 - stable/8/lib/libc/stdio

Xin LI delphij at FreeBSD.org
Wed Jan 20 00:52:24 UTC 2010


Author: delphij
Date: Wed Jan 20 00:52:24 2010
New Revision: 202664
URL: http://svn.freebsd.org/changeset/base/202664

Log:
  MFC r200799:
  
  K&R -> ANSI prototype.

Modified:
  stable/8/lib/libc/stdio/vsscanf.c
Directory Properties:
  stable/8/lib/libc/   (props changed)
  stable/8/lib/libc/stdtime/   (props changed)

Modified: stable/8/lib/libc/stdio/vsscanf.c
==============================================================================
--- stable/8/lib/libc/stdio/vsscanf.c	Wed Jan 20 00:46:55 2010	(r202663)
+++ stable/8/lib/libc/stdio/vsscanf.c	Wed Jan 20 00:52:24 2010	(r202664)
@@ -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-stable-8 mailing list