summaryrefslogtreecommitdiff
path: root/sys/arch/arm/include/stdarg.h
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2005-12-14 21:46:32 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2005-12-14 21:46:32 +0000
commit3fce9befb1d4f65739adc427683f5a6357ee102f (patch)
treebda10871810ec2e3c47c06cfa6e07b88df5efe02 /sys/arch/arm/include/stdarg.h
parent6ffc06fbc8f7e1d2c6134ab0d4563b6a189b983c (diff)
convert _FOO_SOURCE -> __FOO_VISIBLE in machine. OK deraadt@
Diffstat (limited to 'sys/arch/arm/include/stdarg.h')
-rw-r--r--sys/arch/arm/include/stdarg.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/arch/arm/include/stdarg.h b/sys/arch/arm/include/stdarg.h
index 4203558ad70..4af3e313bb8 100644
--- a/sys/arch/arm/include/stdarg.h
+++ b/sys/arch/arm/include/stdarg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: stdarg.h,v 1.3 2005/11/24 20:49:44 deraadt Exp $ */
+/* $OpenBSD: stdarg.h,v 1.4 2005/12/14 21:46:30 millert Exp $ */
/* $NetBSD: stdarg.h,v 1.7 2003/08/07 16:26:53 agc Exp $ */
/*
@@ -35,6 +35,7 @@
#ifndef _ARM32_STDARG_H_
#define _ARM32_STDARG_H_
+#include <sys/cdefs.h>
#include <machine/ansi.h>
typedef _BSD_VA_LIST_ va_list;
@@ -51,9 +52,7 @@ typedef _BSD_VA_LIST_ va_list;
#define va_end __builtin_va_end
#define __va_copy(dest, src) __builtin_va_copy((dest), (src))
-#if !defined(_ANSI_SOURCE) && \
- (defined(_ISOC99_SOURCE) || (__STDC_VERSION__ - 0) >= 199901L || \
- defined(_NETBSD_SOURCE))
+#if __ISO_C_VISIBLE >= 1999
#define va_copy(dest, src) __va_copy((dest), (src))
#endif