aboutsummaryrefslogtreecommitdiff
path: root/sys/sparc64/include/stdarg.h
diff options
context:
space:
mode:
authorMike Barcroft <mike@FreeBSD.org>2002-09-18 07:33:16 +0000
committerMike Barcroft <mike@FreeBSD.org>2002-09-18 07:33:16 +0000
commit86954511d26c1e6cc6d3f386e055458947f4baae (patch)
treed9550a771c43d65b540d4e46a2dadaefba483323 /sys/sparc64/include/stdarg.h
parent530bb9225d7a47f3fdf6193dff2eab8b87b51712 (diff)
downloadsrc-86954511d26c1e6cc6d3f386e055458947f4baae.tar.gz
src-86954511d26c1e6cc6d3f386e055458947f4baae.zip
Implement C99's va_copy() macro.
Notes
Notes: svn path=/head/; revision=103526
Diffstat (limited to 'sys/sparc64/include/stdarg.h')
-rw-r--r--sys/sparc64/include/stdarg.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/sparc64/include/stdarg.h b/sys/sparc64/include/stdarg.h
index f81a67cf9281..b148b71891a9 100644
--- a/sys/sparc64/include/stdarg.h
+++ b/sys/sparc64/include/stdarg.h
@@ -53,6 +53,9 @@ typedef __va_list va_list;
#define va_arg(ap, type) \
__builtin_va_arg((ap), type)
+#define va_copy(dest, src) \
+ __builtin_va_copy((dest), (src))
+
#define va_end(ap) \
__builtin_va_end(ap)