(va_end): If already def as macro, don't declare.
From-SVN: r2680
This commit is contained in:
parent
28f50739a2
commit
64c8c6a7ac
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user