From: NAKAMURA Takumi Date: Fri, 31 Oct 2014 00:54:20 +0000 (+0000) Subject: Threading.h: Give named parameters to llvm::call_once(flag,UserFn). [-Wdocumentation] X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff_plain;h=714a629ad80cc841fb14a476969b91d1545a37ce 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 --- diff --git a/include/llvm/Support/Threading.h b/include/llvm/Support/Threading.h index d6d6da61f9e..74fe745f3bb 100644 --- a/include/llvm/Support/Threading.h +++ b/include/llvm/Support/Threading.h @@ -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