diff options
author | kan <kan@FreeBSD.org> | 2003-07-11 04:00:23 +0000 |
---|---|---|
committer | kan <kan@FreeBSD.org> | 2003-07-11 04:00:23 +0000 |
commit | 4e7ac24200e18bbd6367139a46c1286294a70474 (patch) | |
tree | c567c233a70a71a655646549c59efb4bd5c61d04 /contrib/gcc/ginclude/stdarg.h | |
parent | b664230ac178e69c3c146968ee0c3300a4009f60 (diff) | |
download | FreeBSD-src-4e7ac24200e18bbd6367139a46c1286294a70474.zip FreeBSD-src-4e7ac24200e18bbd6367139a46c1286294a70474.tar.gz |
FreeBSD uses stock versions of these GCC files.
Diffstat (limited to 'contrib/gcc/ginclude/stdarg.h')
-rw-r--r-- | contrib/gcc/ginclude/stdarg.h | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/contrib/gcc/ginclude/stdarg.h b/contrib/gcc/ginclude/stdarg.h index 9f6215d..e451c31 100644 --- a/contrib/gcc/ginclude/stdarg.h +++ b/contrib/gcc/ginclude/stdarg.h @@ -47,18 +47,13 @@ typedef __builtin_va_list __gnuc_va_list; if this invocation was from the user program. */ #ifdef _STDARG_H -/* Note that the type used in va_arg is supposed to match the - actual type **after default promotions**. - Thus, va_arg (..., short) is not valid. */ - -#define va_start(v,l) __builtin_stdarg_start((v),l) -#define va_end __builtin_va_end -#define va_arg __builtin_va_arg +#define va_start(v,l) __builtin_va_start(v,l) +#define va_end(v) __builtin_va_end(v) +#define va_arg(v,l) __builtin_va_arg(v,l) #if !defined(__STRICT_ANSI__) || __STDC_VERSION__ + 0 >= 199900L -#define va_copy(d,s) __builtin_va_copy((d),(s)) +#define va_copy(d,s) __builtin_va_copy(d,s) #endif -#define __va_copy(d,s) __builtin_va_copy((d),(s)) - +#define __va_copy(d,s) __builtin_va_copy(d,s) /* Define va_list, if desired, from __gnuc_va_list. */ /* We deliberately do not define va_list when called from |