summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorthorpej <thorpej@NetBSD.org>2002-05-24 21:07:44 +0000
committerthorpej <thorpej@NetBSD.org>2002-05-24 21:07:44 +0000
commitaa676fc0b2b2203b5ed30757bd4455ab15fbccdf (patch)
treefb3b5a805f901764227b90441c6c70f31cb557af /include
parent7db182d94d40958c9d2f3ed75c56d73485b841fe (diff)
Parameterize the vfscanf macro's arguments. Without them, 3rd party
software can become greatly confused. This fixes 4 GCC 3.2 testsuite failures. This is a stop-gap measure which can be easily applied to the 1.6 release branch. A different fix for the trunk is forthcoming.
Diffstat (limited to 'include')
-rw-r--r--include/stdio.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/stdio.h b/include/stdio.h
index abdfe5dfd84..ee51e89f714 100644
--- a/include/stdio.h
+++ b/include/stdio.h
@@ -1,4 +1,4 @@
-/* $NetBSD: stdio.h,v 1.43 2002/05/24 06:17:29 thorpej Exp $ */
+/* $NetBSD: stdio.h,v 1.44 2002/05/24 21:07:44 thorpej Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -383,7 +383,7 @@ __END_DECLS
* (unlike vfscanf) the name __svfscanf is guaranteed not to collide
* with a user function when _ANSI_SOURCE or _POSIX_SOURCE is defined.
*/
-#define vfscanf __svfscanf
+#define vfscanf(fp, fmt, va) __svfscanf((fp), (fmt), (va))
/*
* Stdio function-access interface.