summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libcxx/include/__threading_support2
-rw-r--r--libcxx/include/thread2
2 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/include/__threading_support b/libcxx/include/__threading_support
index ac0544dfb36..b938d9c2b76 100644
--- a/libcxx/include/__threading_support
+++ b/libcxx/include/__threading_support
@@ -184,7 +184,7 @@ _LIBCPP_THREAD_ABI_VISIBILITY
void __libcpp_thread_yield();
_LIBCPP_THREAD_ABI_VISIBILITY
-void __libcpp_thread_sleep_for(const chrono::nanoseconds& ns);
+void __libcpp_thread_sleep_for(const chrono::nanoseconds& __ns);
// Thread local storage
_LIBCPP_THREAD_ABI_VISIBILITY
diff --git a/libcxx/include/thread b/libcxx/include/thread
index 602445644fc..c9d1dfaa449 100644
--- a/libcxx/include/thread
+++ b/libcxx/include/thread
@@ -424,7 +424,7 @@ void swap(thread& __x, thread& __y) _NOEXCEPT {__x.swap(__y);}
namespace this_thread
{
-_LIBCPP_FUNC_VIS void sleep_for(const chrono::nanoseconds& ns);
+_LIBCPP_FUNC_VIS void sleep_for(const chrono::nanoseconds& __ns);
template <class _Rep, class _Period>
void
OpenPOWER on IntegriCloud