Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jan 2010 00:54:51 +0000 (UTC)
From:      Xin LI <delphij@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org
Subject:   svn commit: r202667 - stable/7/lib/libc/stdio
Message-ID:  <201001200054.o0K0sp4L058137@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001200054.o0K0sp4L058137>