summaryrefslogtreecommitdiff
path: root/sys/arch/amd64
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/amd64
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/amd64')
-rw-r--r--sys/arch/amd64/include/stdarg.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/arch/amd64/include/stdarg.h b/sys/arch/amd64/include/stdarg.h
index a95768f3134..c6826fae588 100644
--- a/sys/arch/amd64/include/stdarg.h
+++ b/sys/arch/amd64/include/stdarg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: stdarg.h,v 1.5 2006/04/09 03:07:52 deraadt Exp $ */
+/* $OpenBSD: stdarg.h,v 1.6 2008/10/23 21:25:07 kettenis Exp $ */
/* $NetBSD: stdarg.h,v 1.2 2003/04/28 23:16:17 bjh21 Exp $ */
/*-
@@ -57,11 +57,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 /* !_AMD64_STDARG_H_ */