Commit 64c8c6a7 by Richard Stallman

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

From-SVN: r2680
parent 28f50739
......@@ -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) */
......
......@@ -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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment