[PATCH] D43226: __threading_support: Remove (void) in favor of ().

Bruce Mitchener via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 1 09:20:36 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL364799: __threading_support: Remove (void) in favor of (). (authored by brucem, committed by ).
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D43226/new/

https://reviews.llvm.org/D43226

Files:
  libcxx/trunk/include/__threading_support


Index: libcxx/trunk/include/__threading_support
===================================================================
--- libcxx/trunk/include/__threading_support
+++ libcxx/trunk/include/__threading_support
@@ -158,7 +158,7 @@
 // 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 @@
 
 // Execute once
 int __libcpp_execute_once(__libcpp_exec_once_flag *flag,
-                          void (*init_routine)(void)) {
+                          void (*init_routine)()) {
   return pthread_once(flag, init_routine);
 }
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43226.207351.patch
Type: text/x-patch
Size: 743 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190701/9b071374/attachment.bin>


More information about the llvm-commits mailing list