mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 22:24:54 +00:00
Threading.h: Give named parameters to llvm::call_once(flag,UserFn). [-Wdocumentation]
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220941 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -68,8 +68,7 @@ typedef volatile sys::cas_flag once_flag;
|
||||
///
|
||||
/// \param flag Flag used for tracking whether or not this has run.
|
||||
/// \param UserFn Function to call once.
|
||||
void call_once(once_flag&, void (*)(void));
|
||||
|
||||
void call_once(once_flag &flag, void (*UserFn)(void));
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user