From 57bf79d243bf313e943427a2d0928512d49e1178 Mon Sep 17 00:00:00 2001 From: espie Date: Wed, 11 May 2005 18:39:19 +0000 Subject: let vfscanf be a real function. Use a weak_alias on systems where this is feasible. Okay millert@ There's a major libc bump coming that is going to cover this as well... --- lib/libc/stdio/vsscanf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/libc/stdio/vsscanf.c') diff --git a/lib/libc/stdio/vsscanf.c b/lib/libc/stdio/vsscanf.c index 34b54cb7dea..a1585c622a0 100644 --- a/lib/libc/stdio/vsscanf.c +++ b/lib/libc/stdio/vsscanf.c @@ -31,7 +31,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: vsscanf.c,v 1.7 2005/04/30 09:25:17 espie Exp $"; +static char rcsid[] = "$OpenBSD: vsscanf.c,v 1.8 2005/05/11 18:39:19 espie Exp $"; #endif /* LIBC_SCCS and not lint */ #include @@ -59,5 +59,5 @@ vsscanf(const char *str, const char *fmt, _BSD_VA_LIST_ ap) f._read = eofread; _UB(&f)._base = NULL; f._lb._base = NULL; - return (__svfscanf(&f, fmt, ap)); + return (vfscanf(&f, fmt, ap)); } -- cgit v1.2.3-59-g8ed1b