diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2010-12-30 05:01:37 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2010-12-30 05:01:37 +0000 |
commit | e707938ee54d291657561650400fae34c1403b14 (patch) | |
tree | e9cacb3b02ad925396397cfd70e404f18b1f9c61 /sys/arch/amd64 | |
parent | 8a5e33cc1aa57a9fbe22527e19dabae2c6073039 (diff) |
add a simple __va_copy inside ifdef lint, from tim van der molen.
ok guenther
Diffstat (limited to 'sys/arch/amd64')
-rw-r--r-- | sys/arch/amd64/include/stdarg.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/amd64/include/stdarg.h b/sys/arch/amd64/include/stdarg.h index c6826fae588..9e97937198c 100644 --- a/sys/arch/amd64/include/stdarg.h +++ b/sys/arch/amd64/include/stdarg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: stdarg.h,v 1.6 2008/10/23 21:25:07 kettenis Exp $ */ +/* $OpenBSD: stdarg.h,v 1.7 2010/12/30 05:01:36 tedu Exp $ */ /* $NetBSD: stdarg.h,v 1.2 2003/04/28 23:16:17 bjh21 Exp $ */ /*- @@ -49,6 +49,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)&(last) + __va_size(last)) |