summaryrefslogtreecommitdiff
path: root/sys/arch/vax/include/stdarg.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/vax/include/stdarg.h')
-rw-r--r--sys/arch/vax/include/stdarg.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/arch/vax/include/stdarg.h b/sys/arch/vax/include/stdarg.h
index d77db2fba36..2ebf9dc7f26 100644
--- a/sys/arch/vax/include/stdarg.h
+++ b/sys/arch/vax/include/stdarg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: stdarg.h,v 1.6 2003/06/02 23:27:57 millert Exp $ */
+/* $OpenBSD: stdarg.h,v 1.7 2005/12/14 21:46:31 millert Exp $ */
/* $NetBSD: stdarg.h,v 1.11 1999/05/03 16:30:34 christos Exp $ */
/*-
@@ -35,6 +35,7 @@
#ifndef _VAX_STDARG_H_
#define _VAX_STDARG_H_
+#include <sys/cdefs.h>
#include <machine/ansi.h>
typedef _BSD_VA_LIST_ va_list;
@@ -52,9 +53,7 @@ typedef _BSD_VA_LIST_ va_list;
#define va_arg(ap, type) \
(*(type *)(void *)((ap) += __va_size(type), (ap) - __va_size(type)))
-#if !defined(_ANSI_SOURCE) && \
- (!defined(_POSIX_C_SOURCE) && !defined(_XOPEN_SOURCE) || \
- defined(_ISOC99_SOURCE) || (__STDC_VERSION__ - 0) >= 199901L)
+#if __BSD_VISIBLE
#define va_copy(dest, src) \
((dest) = (src))
#endif