summaryrefslogtreecommitdiffstats
path: root/sys/arch/arm/include/stdarg.h
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2008-10-23 21:25:07 +0000
committerkettenis <kettenis@openbsd.org>2008-10-23 21:25:07 +0000
commit36d32d0d417dad260046e061b7c4b95d6f5c031d (patch)
tree52f1b99467431ce123d97868f1a8004ff70fbf05 /sys/arch/arm/include/stdarg.h
parentreove redundant variable sample rate checks. (diff)
downloadwireguard-openbsd-36d32d0d417dad260046e061b7c4b95d6f5c031d.tar.xz
wireguard-openbsd-36d32d0d417dad260046e061b7c4b95d6f5c031d.zip
Move the va_copy define to <sys/stdrag.h> making sure it is uniformaly
protected by __ISO_C_VISIBLE > 1999. With a little help from miod@. ok miod@
Diffstat (limited to 'sys/arch/arm/include/stdarg.h')
-rw-r--r--sys/arch/arm/include/stdarg.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/arch/arm/include/stdarg.h b/sys/arch/arm/include/stdarg.h
index ce8a4b7505d..32312c7ddb7 100644
--- a/sys/arch/arm/include/stdarg.h
+++ b/sys/arch/arm/include/stdarg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: stdarg.h,v 1.6 2006/04/09 03:07:52 deraadt Exp $ */
+/* $OpenBSD: stdarg.h,v 1.7 2008/10/23 21:25:07 kettenis Exp $ */
/* $NetBSD: stdarg.h,v 1.7 2003/08/07 16:26:53 agc Exp $ */
/*
@@ -53,8 +53,4 @@ typedef __va_list va_list;
#define va_end __builtin_va_end
#define __va_copy(dest, src) __builtin_va_copy((dest), (src))
-#if __ISO_C_VISIBLE >= 1999
-#define va_copy(dest, src) __va_copy((dest), (src))
-#endif
-
#endif /* !_ARM32_STDARG_H_ */