From: Richard Stallman Date: Tue, 28 Jul 1992 20:47:17 +0000 (+0000) Subject: entered into RCS X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=da86800a12af7c0ba809f4596198df87612c74a1;p=gcc.git entered into RCS From-SVN: r1706 --- diff --git a/gcc/ginclude/stdarg.h b/gcc/ginclude/stdarg.h index 8e061e22778..963d05da305 100644 --- a/gcc/ginclude/stdarg.h +++ b/gcc/ginclude/stdarg.h @@ -73,6 +73,11 @@ void va_end (__gnuc_va_list); /* Defined in libgcc.a */ #ifdef _STDARG_H /* Define va_list, if desired, from __gnuc_va_list. */ +/* We deliberately do not define va_list when called from + stdio.h, because ANSI C says that stdio.h is not supposed to define + va_list. stdio.h needs to have access to that data type, + but must not use that name. It should use the name __gnuc_va_list, + which is safe because it is reserved for the implementation. */ #ifdef _HIDDEN_VA_LIST /* On OSF1, this means varargs.h is "half-loaded". */ #undef _VA_LIST