From c19ee5a0fb93c7b19983b553b520fcab8da93697 Mon Sep 17 00:00:00 2001 From: Xin LI Date: Mon, 21 Dec 2009 19:55:05 +0000 Subject: [PATCH] K&R -> ANSI prototype. MFC after: 1 month --- lib/libc/stdio/vsscanf.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/lib/libc/stdio/vsscanf.c b/lib/libc/stdio/vsscanf.c index e5e96917b42..22b5d2bdac0 100644 --- a/lib/libc/stdio/vsscanf.c +++ b/lib/libc/stdio/vsscanf.c @@ -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;