summaryrefslogtreecommitdiff
path: root/sys/arch/alpha
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2010-12-30 05:01:37 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2010-12-30 05:01:37 +0000
commite707938ee54d291657561650400fae34c1403b14 (patch)
treee9cacb3b02ad925396397cfd70e404f18b1f9c61 /sys/arch/alpha
parent8a5e33cc1aa57a9fbe22527e19dabae2c6073039 (diff)
add a simple __va_copy inside ifdef lint, from tim van der molen.
ok guenther
Diffstat (limited to 'sys/arch/alpha')
-rw-r--r--sys/arch/alpha/include/stdarg.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/alpha/include/stdarg.h b/sys/arch/alpha/include/stdarg.h
index 167d5cd44b8..1cb7f986c45 100644
--- a/sys/arch/alpha/include/stdarg.h
+++ b/sys/arch/alpha/include/stdarg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: stdarg.h,v 1.11 2008/10/23 21:25:07 kettenis Exp $ */
+/* $OpenBSD: stdarg.h,v 1.12 2010/12/30 05:01:36 tedu Exp $ */
/* $NetBSD: stdarg.h,v 1.4 1996/10/09 21:13:05 cgd Exp $ */
/*-
@@ -45,6 +45,7 @@ typedef __va_list va_list;
#ifdef lint
#define va_start(ap,lastarg) ((ap) = (ap))
+#define __va_copy(dst, src) ((dst) = (src))
#else
#define va_start(ap, last) \
(__builtin_next_arg(last), (ap) = *(va_list *)__builtin_saveregs(), (ap).pad = 0)