From: Rich Felker Date: Thu, 17 Oct 2019 19:21:12 +0000 (-0400) Subject: remove i386 support for legacy struct __va_list X-Git-Tag: v1.2.0~101 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f7f1079796abc6f97c69521d2334e9c7d3945dd8;p=oweals%2Fmusl.git remove i386 support for legacy struct __va_list commit ffaaa6d230512f3a7f3d040b943517728f3dc3cf removed the corresponding stdarg.h support for compilers without va_list builtins, but failed to remove the alternate type definition, leaving incorrect va_list definitions in place with compilers that don't define __GNUC__ with a value >= 3. --- diff --git a/arch/i386/bits/alltypes.h.in b/arch/i386/bits/alltypes.h.in index 1a8432d3..2a7fb54b 100644 --- a/arch/i386/bits/alltypes.h.in +++ b/arch/i386/bits/alltypes.h.in @@ -2,13 +2,8 @@ #define _Int64 long long #define _Reg int -#if __GNUC__ >= 3 TYPEDEF __builtin_va_list va_list; TYPEDEF __builtin_va_list __isoc_va_list; -#else -TYPEDEF struct __va_list * va_list; -TYPEDEF struct __va_list * __isoc_va_list; -#endif #ifndef __cplusplus #ifdef __WCHAR_TYPE__