re PR libstdc++/50982 (AIX libstdc++ GTHREADS incompatibility)

PR libstdc++/50982
	* include/std/mutex (__once_proxy): Use void parameter list to
	work on implicit extern "C" systems.

From-SVN: r181072
This commit is contained in:
Jonathan Wakely 2011-11-07 07:54:06 +00:00 committed by Jonathan Wakely
parent b9b8c6ae39
commit ff02a38bc6
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2011-11-07 Jonathan Wakely <jwakely.gcc@gmail.com>
PR libstdc++/50982
* include/std/mutex (__once_proxy): Use void parameter list to
work on implicit extern "C" systems.
2011-11-07 Xinliang David Li <davidxl@google.com>
* include/backward/hashtable.h: Make __stl_prime_list

View File

@ -796,7 +796,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
__get_once_mutex();
#endif
extern "C" void __once_proxy();
extern "C" void __once_proxy(void);
/// call_once
template<typename _Callable, typename... _Args>