diff --git a/gcc/ginclude/va-i960.h b/gcc/ginclude/va-i960.h index 2308c292af4..26a53a3e08f 100644 --- a/gcc/ginclude/va-i960.h +++ b/gcc/ginclude/va-i960.h @@ -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) */ diff --git a/gcc/ginclude/va-mips.h b/gcc/ginclude/va-mips.h index ec0e7803475..3345abfcf40 100644 --- a/gcc/ginclude/va-mips.h +++ b/gcc/ginclude/va-mips.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 */