summaryrefslogtreecommitdiff
path: root/sys/arch/i386/include
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/i386/include
parent8a5e33cc1aa57a9fbe22527e19dabae2c6073039 (diff)
add a simple __va_copy inside ifdef lint, from tim van der molen.
ok guenther
Diffstat (limited to 'sys/arch/i386/include')
-rw-r--r--sys/arch/i386/include/stdarg.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/i386/include/stdarg.h b/sys/arch/i386/include/stdarg.h
index bad72654e06..9c4ec1b1714 100644
--- a/sys/arch/i386/include/stdarg.h
+++ b/sys/arch/i386/include/stdarg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: stdarg.h,v 1.13 2008/10/23 21:25:07 kettenis Exp $ */
+/* $OpenBSD: stdarg.h,v 1.14 2010/12/30 05:01:36 tedu Exp $ */
/* $NetBSD: stdarg.h,v 1.12 1995/12/25 23:15:31 mycroft 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) \
((ap) = (va_list)__builtin_next_arg(last))