diff options
author | Otto Moerbeek <otto@cvs.openbsd.org> | 2007-09-29 18:42:04 +0000 |
---|---|---|
committer | Otto Moerbeek <otto@cvs.openbsd.org> | 2007-09-29 18:42:04 +0000 |
commit | bff7d0db0450b411bb5f9db0c7855465af37b17d (patch) | |
tree | 0043b5afa411821720fc3f72eb9a79bbda5ad662 /sys/arch/i386/include | |
parent | 9e8ea78d0ed7ee9c8913fa15e1755ce6a7f5bdaf (diff) |
At the requst of deraadt@, backpout the temporary hack for pcc.
Paraphrasing, "make it clear this should be fixed in pcc asap".
Diffstat (limited to 'sys/arch/i386/include')
-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))) |