summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/vscanf.c
diff options
context:
space:
mode:
authorespie <espie@openbsd.org>2005-05-11 18:39:19 +0000
committerespie <espie@openbsd.org>2005-05-11 18:39:19 +0000
commit57bf79d243bf313e943427a2d0928512d49e1178 (patch)
tree3dd847a14ca5658bacb58de4506ea4fead5b7573 /lib/libc/stdio/vscanf.c
parentuse the ctype stuff in libc instead of re-rolling our own. (diff)
downloadwireguard-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/vscanf.c')
-rw-r--r--lib/libc/stdio/vscanf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/stdio/vscanf.c b/lib/libc/stdio/vscanf.c
index 5c8b5379cbe..898acc339d0 100644
--- a/lib/libc/stdio/vscanf.c
+++ b/lib/libc/stdio/vscanf.c
@@ -31,7 +31,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: vscanf.c,v 1.5 2004/09/28 18:12:44 otto Exp $";
+static char rcsid[] = "$OpenBSD: vscanf.c,v 1.6 2005/05/11 18:39:19 espie Exp $";
#endif /* LIBC_SCCS and not lint */
#include <stdio.h>
@@ -40,5 +40,5 @@ int
vscanf(const char *fmt, _BSD_VA_LIST_ ap)
{
- return (__svfscanf(stdin, fmt, ap));
+ return (vfscanf(stdin, fmt, ap));
}