(va_end): If already def as macro, don't declare.

From-SVN: r2680
This commit is contained in:
Richard Stallman 1992-11-03 07:59:13 +00:00
parent 28f50739a2
commit 64c8c6a7ac
2 changed files with 4 additions and 0 deletions

View File

@ -55,7 +55,9 @@ __extension__ \
*((T *) (void *) ((char *) *(AP) + (AP)[1] - __vsiz (T))) \
)
#ifndef va_end
void va_end (__gnuc_va_list); /* Defined in libgcc.a */
#endif
#define va_end(AP)
#endif /* defined (_STDARG_H) || defined (_VARARGS_H) */

View File

@ -42,7 +42,9 @@ typedef char * __gnuc_va_list;
#define va_start(__AP) __AP = (char *) &__builtin_va_alist
#endif
#ifndef va_end
void va_end (__gnuc_va_list); /* Defined in libgcc.a */
#endif
#define va_end(__AP)
#ifdef lint /* complains about constant in conditional context */