aboutsummaryrefslogtreecommitdiffstats
path: root/include/xlocale.h
diff options
context:
space:
mode:
authorAndriy Gapon <avg@FreeBSD.org>2012-01-15 20:37:39 +0000
committerAndriy Gapon <avg@FreeBSD.org>2012-01-15 20:37:39 +0000
commitea3282935d8f69d6c9a4f1640f3143d509960abf (patch)
tree24aebc4fd121a28569f7819c587bef6ed7a73997 /include/xlocale.h
parent4e529b6d7830ceb179b6245e4bc6f4ad1de691f1 (diff)
downloadsrc-ea3282935d8f69d6c9a4f1640f3143d509960abf.tar.gz
src-ea3282935d8f69d6c9a4f1640f3143d509960abf.zip
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
Notes
Notes: svn path=/head/; revision=230156
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 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);