aboutsummaryrefslogtreecommitdiff
path: root/system/include/libcxx/mutex
diff options
context:
space:
mode:
Diffstat (limited to 'system/include/libcxx/mutex')
-rw-r--r--system/include/libcxx/mutex4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/include/libcxx/mutex b/system/include/libcxx/mutex
index e2b5d6bf..e0c02adb 100644
--- a/system/include/libcxx/mutex
+++ b/system/include/libcxx/mutex
@@ -441,7 +441,7 @@ void call_once(once_flag&, _Callable);
#endif // _LIBCPP_HAS_NO_VARIADICS
-struct _LIBCPP_TYPE_VIS once_flag
+struct _LIBCPP_TYPE_VIS_ONLY once_flag
{
_LIBCPP_INLINE_VISIBILITY
_LIBCPP_CONSTEXPR
@@ -527,7 +527,7 @@ __call_once_proxy(void* __vp)
(*__p)();
}
-void __call_once(volatile unsigned long&, void*, void(*)(void*));
+_LIBCPP_FUNC_VIS void __call_once(volatile unsigned long&, void*, void(*)(void*));
#ifndef _LIBCPP_HAS_NO_VARIADICS