Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Dec 2009 19:55:05 +0000 (UTC)
From:      Xin LI <delphij@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r200799 - head/lib/libc/stdio
Message-ID:  <200912211955.nBLJt5Q3038784@svn.freebsd.org>

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



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