summaryrefslogtreecommitdiffstats
path: root/libcxx/include/mutex
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2012-09-14 00:39:16 +0000
committerHoward Hinnant <hhinnant@apple.com>2012-09-14 00:39:16 +0000
commitaeb85680fb688e96ba2d2fc7703ae6e57cc44097 (patch)
treebbdd33a4628645c6a5a0af91f42a642c296bf09f /libcxx/include/mutex
parentf6e2bc07eb3d0e5a1ab25a0b84e0c3aa42668a5a (diff)
downloadbcm5719-llvm-aeb85680fb688e96ba2d2fc7703ae6e57cc44097.tar.gz
bcm5719-llvm-aeb85680fb688e96ba2d2fc7703ae6e57cc44097.zip
Dimitry Andric: many visibility fixes. Howard: Much appreciated. Can you send me a patch to CREDITS.TXT?
llvm-svn: 163862
Diffstat (limited to 'libcxx/include/mutex')
-rw-r--r--libcxx/include/mutex8
1 files changed, 5 insertions, 3 deletions
diff --git a/libcxx/include/mutex b/libcxx/include/mutex
index 61f53e0ad4c..ee20f021ea9 100644
--- a/libcxx/include/mutex
+++ b/libcxx/include/mutex
@@ -425,17 +425,19 @@ lock(_L0& __l0, _L1& __l1, _L2& __l2, _L3& ...__l3)
#endif // _LIBCPP_HAS_NO_VARIADICS
-struct once_flag;
+struct _LIBCPP_VISIBLE once_flag;
#ifndef _LIBCPP_HAS_NO_VARIADICS
template<class _Callable, class... _Args>
- void call_once(once_flag&, _Callable&&, _Args&&...);
+_LIBCPP_INLINE_VISIBILITY
+void call_once(once_flag&, _Callable&&, _Args&&...);
#else // _LIBCPP_HAS_NO_VARIADICS
template<class _Callable>
- void call_once(once_flag&, _Callable);
+_LIBCPP_INLINE_VISIBILITY
+void call_once(once_flag&, _Callable);
#endif // _LIBCPP_HAS_NO_VARIADICS
OpenPOWER on IntegriCloud