From 2c3323bcb14b12bf0e687ab2ee721db043128065 Mon Sep 17 00:00:00 2001 From: avg Date: Sun, 15 Jan 2012 20:37:39 +0000 Subject: [PATCH] xlocale.h: consistently use __va_list Plain 'va_list' in this header seems to cause troubles with non-base GCC which creates and uses "tortured" versions of some sysem header files including stdio.h (installed in a private 'include-fixed' directory). Reviewed by: theraven X-MFC with: r227753 --- include/xlocale.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/xlocale.h b/include/xlocale.h index 30fe87e66e68..1f27894f9c97 100644 --- a/include/xlocale.h +++ b/include/xlocale.h @@ -157,9 +157,9 @@ int vfscanf_l(FILE * __restrict, locale_t, const char * __restrict, __va_list) __scanflike(3, 0); int vscanf_l(locale_t, const char * __restrict, __va_list) __scanflike(2, 0); int vsnprintf_l(char * __restrict, size_t, locale_t, const char * __restrict, - va_list) __printflike(4, 0); + __va_list) __printflike(4, 0); int vsscanf_l(const char * __restrict, locale_t, const char * __restrict, - va_list) __scanflike(3, 0); + __va_list) __scanflike(3, 0); int dprintf_l(int, locale_t, const char * __restrict, ...) __printflike(3, 4); int vdprintf_l(int, locale_t, const char * __restrict, __va_list) __printflike(3, 0);