Author: avg
Date: Sun Jan 15 20:37:39 2012
New Revision: 230156
URL: http://svn.freebsd.org/changeset/base/230156
Log:
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
Modified:
head/include/xlocale.h
Modified: head/include/xlocale.h
==============================================================================
--- head/include/xlocale.h Sun Jan 15 20:14:52 2012 (r230155)
+++ head/include/xlocale.h Sun Jan 15 20:37:39 2012 (r230156)
@@ -157,9 +157,9 @@ int vfscanf_l(FILE * __restrict, locale
__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);
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"