summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2019-10-17 15:21:12 -0400
committerRich Felker <dalias@aerifal.cx>2019-10-17 15:21:12 -0400
commitf7f1079796abc6f97c69521d2334e9c7d3945dd8 (patch)
tree2551acbbf53118677bcc6c493bef0e57a25fd8b7 /arch
parent1c9d2cba11ef2c9de31a6edb48eb20777be4a4f8 (diff)
downloadmusl-f7f1079796abc6f97c69521d2334e9c7d3945dd8.tar.gz
musl-f7f1079796abc6f97c69521d2334e9c7d3945dd8.tar.bz2
musl-f7f1079796abc6f97c69521d2334e9c7d3945dd8.tar.xz
musl-f7f1079796abc6f97c69521d2334e9c7d3945dd8.zip
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.
Diffstat (limited to 'arch')
-rw-r--r--arch/i386/bits/alltypes.h.in5
1 files changed, 0 insertions, 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__