diff options
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/i386/include/stdarg.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/sys/arch/i386/include/stdarg.h b/sys/arch/i386/include/stdarg.h index ae9e0deb65f..977861d646b 100644 --- a/sys/arch/i386/include/stdarg.h +++ b/sys/arch/i386/include/stdarg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: stdarg.h,v 1.11 2007/09/18 20:17:43 otto Exp $ */ +/* $OpenBSD: stdarg.h,v 1.12 2007/09/29 18:42:03 otto Exp $ */ /* $NetBSD: stdarg.h,v 1.12 1995/12/25 23:15:31 mycroft Exp $ */ /*- @@ -45,13 +45,10 @@ typedef __va_list va_list; #ifdef lint #define va_start(ap,lastarg) ((ap) = (ap)) -#elif defined(__GCC__) -#define va_start(ap, last) \ - ((ap) = (va_list)__builtin_next_arg(last)) #else #define va_start(ap, last) \ - ((ap) = (va_list)&(last) + __va_size(last)) -#endif + ((ap) = (va_list)__builtin_next_arg(last)) +#endif /* lint */ #define va_arg(ap, type) \ (*(type *)((ap) += __va_size(type), (ap) - __va_size(type))) |