remove i386 support for legacy struct __va_list
authorRich Felker <dalias@aerifal.cx>
Thu, 17 Oct 2019 19:21:12 +0000 (15:21 -0400)
committerRich Felker <dalias@aerifal.cx>
Thu, 17 Oct 2019 19:21:12 +0000 (15:21 -0400)
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

index 1a8432d..2a7fb54 100644 (file)
@@ -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__