summaryrefslogtreecommitdiffstats
path: root/include/xlocale.h
diff options
context:
space:
mode:
authoravg <avg@FreeBSD.org>2012-01-15 20:37:39 +0000
committeravg <avg@FreeBSD.org>2012-01-15 20:37:39 +0000
commit2c3323bcb14b12bf0e687ab2ee721db043128065 (patch)
tree24aebc4fd121a28569f7819c587bef6ed7a73997 /include/xlocale.h
parent41fde08834f07fa3efb8dd9221d127636457b8d5 (diff)
downloadFreeBSD-src-2c3323bcb14b12bf0e687ab2ee721db043128065.zip
FreeBSD-src-2c3323bcb14b12bf0e687ab2ee721db043128065.tar.gz
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
Diffstat (limited to 'include/xlocale.h')
-rw-r--r--include/xlocale.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/xlocale.h b/include/xlocale.h
index 30fe87e..1f27894 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);
OpenPOWER on IntegriCloud