summaryrefslogtreecommitdiff
path: root/sys/arch/i386/include
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2008-10-23 21:25:09 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2008-10-23 21:25:09 +0000
commit7491e407e812bfeeca3f37e3defa99a2da9f149f (patch)
tree6134cb09e98b5d8f002421216f34fe5dc2ca7b35 /sys/arch/i386/include
parent364005f7c07e04f6ee295584d5b7fa22a6e8b1c2 (diff)
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/i386/include')
-rw-r--r--sys/arch/i386/include/stdarg.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/arch/i386/include/stdarg.h b/sys/arch/i386/include/stdarg.h
index 977861d646b..bad72654e06 100644
--- a/sys/arch/i386/include/stdarg.h
+++ b/sys/arch/i386/include/stdarg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: stdarg.h,v 1.12 2007/09/29 18:42:03 otto Exp $ */
+/* $OpenBSD: stdarg.h,v 1.13 2008/10/23 21:25:07 kettenis Exp $ */
/* $NetBSD: stdarg.h,v 1.12 1995/12/25 23:15:31 mycroft Exp $ */
/*-
@@ -53,11 +53,6 @@ typedef __va_list va_list;
#define va_arg(ap, type) \
(*(type *)((ap) += __va_size(type), (ap) - __va_size(type)))
-#if __ISO_C_VISIBLE >= 1999
-#define va_copy(dest, src) \
- ((dest) = (src))
-#endif
-
#define va_end(ap)
#endif /* !_I386_STDARG_H_ */