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