Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Jan 2012 20:37:39 +0000 (UTC)
From:      Andriy Gapon <avg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r230156 - head/include
Message-ID:  <201201152037.q0FKbddF098997@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201201152037.q0FKbddF098997>