diff options
author | 2005-05-11 18:39:19 +0000 | |
---|---|---|
committer | 2005-05-11 18:39:19 +0000 | |
commit | 57bf79d243bf313e943427a2d0928512d49e1178 (patch) | |
tree | 3dd847a14ca5658bacb58de4506ea4fead5b7573 /lib/libc/stdio/vsscanf.c | |
parent | use the ctype stuff in libc instead of re-rolling our own. (diff) | |
download | wireguard-openbsd-57bf79d243bf313e943427a2d0928512d49e1178.tar.xz wireguard-openbsd-57bf79d243bf313e943427a2d0928512d49e1178.zip |
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...
Diffstat (limited to 'lib/libc/stdio/vsscanf.c')
-rw-r--r-- | lib/libc/stdio/vsscanf.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 <stdio.h> @@ -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)); } |