summaryrefslogtreecommitdiffstats
path: root/libcxx/include/__threading_support
diff options
context:
space:
mode:
authorBruce Mitchener <bruce.mitchener@gmail.com>2019-07-01 16:18:38 +0000
committerBruce Mitchener <bruce.mitchener@gmail.com>2019-07-01 16:18:38 +0000
commit4603460a39569578b55a94284f3e6942a475ee07 (patch)
tree6da81a23e0502f15d9fe621a8f81dcdb771d4e06 /libcxx/include/__threading_support
parentba41d3b1fd68ce1efa467df93e6a22faa277a944 (diff)
downloadbcm5719-llvm-4603460a39569578b55a94284f3e6942a475ee07.tar.gz
bcm5719-llvm-4603460a39569578b55a94284f3e6942a475ee07.zip
__threading_support: Remove (void) in favor of ().
Summary: This fixes a clang-tidy warning when building something that uses this file. Reviewers: mclow.lists, EricWF Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D43226 llvm-svn: 364799
Diffstat (limited to 'libcxx/include/__threading_support')
-rw-r--r--libcxx/include/__threading_support4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/include/__threading_support b/libcxx/include/__threading_support
index 097cb73e51b..589fe2096fd 100644
--- a/libcxx/include/__threading_support
+++ b/libcxx/include/__threading_support
@@ -158,7 +158,7 @@ int __libcpp_condvar_destroy(__libcpp_condvar_t* __cv);
// Execute once
_LIBCPP_THREAD_ABI_VISIBILITY
int __libcpp_execute_once(__libcpp_exec_once_flag *flag,
- void (*init_routine)(void));
+ void (*init_routine)());
// Thread id
_LIBCPP_THREAD_ABI_VISIBILITY
@@ -301,7 +301,7 @@ int __libcpp_condvar_destroy(__libcpp_condvar_t *__cv)
// Execute once
int __libcpp_execute_once(__libcpp_exec_once_flag *flag,
- void (*init_routine)(void)) {
+ void (*init_routine)()) {
return pthread_once(flag, init_routine);
}
OpenPOWER on IntegriCloud