From f7f1079796abc6f97c69521d2334e9c7d3945dd8 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Thu, 17 Oct 2019 15:21:12 -0400 Subject: [PATCH] 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. --- arch/i386/bits/alltypes.h.in | 5 ----- 1 file changed, 5 deletions(-) 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__ -- 2.25.1