mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-26 07:34:14 +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:
parent
107d77958d
commit
714a629ad8
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user