Date: Wed, 20 Jan 2010 00:52:24 +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-8@freebsd.org Subject: svn commit: r202664 - stable/8/lib/libc/stdio Message-ID: <201001200052.o0K0qOis057468@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001200052.o0K0qOis057468>