diff options
author | Michael Cronenworth <mike@cchtml.com> | 2018-03-16 13:48:34 -0500 |
---|---|---|
committer | Michael Cronenworth <mike@cchtml.com> | 2018-03-16 13:48:34 -0500 |
commit | bbc7a53911f1ef8a4a24b76d88c5b0e5899e082f (patch) | |
tree | c1044ca65b08b7976b38245379cd2b12913c675a | |
parent | 497cf7335e0608a92557e11ccc22d824e202fbc5 (diff) |
DllLoader: Update variable to use standard va_list type
The _G_ types were ancient, internal-only types defined in _G_config.h
and are now deprecated.
https://sourceware.org/ml/libc-announce/2018/msg00000.html
https://sourceware.org/git/?p=glibc.git;a=commit;h=48a8f8328122ab8d06b7333cb87be46feeaf7cca
Signed-off-by: Michael Cronenworth <mike@cchtml.com>
-rw-r--r-- | xbmc/cores/DllLoader/exports/wrapper.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/xbmc/cores/DllLoader/exports/wrapper.c b/xbmc/cores/DllLoader/exports/wrapper.c index 1980bfe65c..7c7d4ac613 100644 --- a/xbmc/cores/DllLoader/exports/wrapper.c +++ b/xbmc/cores/DllLoader/exports/wrapper.c @@ -45,9 +45,6 @@ typedef int64_t off64_t; typedef off64_t __off64_t; typedef fpos_t fpos64_t; #define stat64 stat -#if defined(TARGET_DARWIN) || defined(TARGET_ANDROID) -#define _G_va_list va_list -#endif #endif #ifdef TARGET_POSIX @@ -485,7 +482,7 @@ int __wrap___printf_chk(int flag, const char *format, ...) return res; } -int __wrap___vfprintf_chk(FILE* stream, int flag, const char *format, _G_va_list ap) +int __wrap___vfprintf_chk(FILE* stream, int flag, const char *format, va_list ap) { return dll_vfprintf(stream, format, ap); } |