summaryrefslogtreecommitdiff
path: root/lib/libc/stdio/vfprintf.c
diff options
context:
space:
mode:
authorwiz <wiz@NetBSD.org>2002-05-26 14:43:59 +0000
committerwiz <wiz@NetBSD.org>2002-05-26 14:43:59 +0000
commit3fb28eec1f0ef05fee55cc6fb876fd8414ca7de2 (patch)
tree6278601a38e0f5c2f353dcdb834e91cab025e3bc /lib/libc/stdio/vfprintf.c
parent94a6bb8164fe5282cc97c8a5cdf9261e9db1f416 (diff)
__STDC__ is always defined on NetBSD.
Diffstat (limited to 'lib/libc/stdio/vfprintf.c')
-rw-r--r--lib/libc/stdio/vfprintf.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/lib/libc/stdio/vfprintf.c b/lib/libc/stdio/vfprintf.c
index 4bc49374961..cd53f635bd1 100644
--- a/lib/libc/stdio/vfprintf.c
+++ b/lib/libc/stdio/vfprintf.c
@@ -1,4 +1,4 @@
-/* $NetBSD: vfprintf.c,v 1.42 2001/12/07 11:47:44 yamt Exp $ */
+/* $NetBSD: vfprintf.c,v 1.43 2002/05/26 14:44:00 wiz Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -41,7 +41,7 @@
#if 0
static char *sccsid = "@(#)vfprintf.c 5.50 (Berkeley) 12/16/92";
#else
-__RCSID("$NetBSD: vfprintf.c,v 1.42 2001/12/07 11:47:44 yamt Exp $");
+__RCSID("$NetBSD: vfprintf.c,v 1.43 2002/05/26 14:44:00 wiz Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
@@ -56,6 +56,7 @@ __RCSID("$NetBSD: vfprintf.c,v 1.42 2001/12/07 11:47:44 yamt Exp $");
#include <assert.h>
#include <errno.h>
+#include <stdarg.h>
#include <stddef.h>
#include <stdint.h>
#include <stdio.h>
@@ -63,12 +64,6 @@ __RCSID("$NetBSD: vfprintf.c,v 1.42 2001/12/07 11:47:44 yamt Exp $");
#include <string.h>
#include <wchar.h>
-#if __STDC__
-#include <stdarg.h>
-#else
-#include <varargs.h>
-#endif
-
#include "local.h"
#include "fvwrite.h"
#include "extern.h"