Module: wine Branch: master Commit: 69e2467aa78350f0e5a1e349f23e23a0550808c7 URL: https://source.winehq.org/git/wine.git/?a=commit;h=69e2467aa78350f0e5a1e349f... Author: Piotr Caban <piotr(a)codeweavers.com> Date: Wed Aug 18 16:09:27 2021 +0200 msvcrt: Move _Trace_agents function to concurrency.c. Signed-off-by: Piotr Caban <piotr(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/msvcrt/concurrency.c | 8 ++++++++ dlls/msvcrt/misc.c | 6 ------ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/dlls/msvcrt/concurrency.c b/dlls/msvcrt/concurrency.c index 142d578633e..5aee472559e 100644 --- a/dlls/msvcrt/concurrency.c +++ b/dlls/msvcrt/concurrency.c @@ -2374,6 +2374,14 @@ void __cdecl Concurrency_wait(unsigned int time) Sleep(time); } +#if _MSVCR_VER>=110 +/* ?_Trace_agents(a)Concurrency@@YAXW4Agents_EventType(a)1@_JZZ */ +void WINAPIV _Trace_agents(/*enum Concurrency::Agents_EventType*/int type, __int64 id, ...) +{ + FIXME("(%d %s)\n", type, wine_dbgstr_longlong(id)); +} +#endif + #ifdef __ASM_USE_THISCALL_WRAPPER #define DEFINE_VTBL_WRAPPER(off) \ diff --git a/dlls/msvcrt/misc.c b/dlls/msvcrt/misc.c index 5ea1ddfc6c7..bee269ed5f8 100644 --- a/dlls/msvcrt/misc.c +++ b/dlls/msvcrt/misc.c @@ -562,12 +562,6 @@ LONG CDECL __crtUnhandledException(EXCEPTION_POINTERS *ep) SetUnhandledExceptionFilter(NULL); return UnhandledExceptionFilter(ep); } - -/* ?_Trace_agents(a)Concurrency@@YAXW4Agents_EventType(a)1@_JZZ */ -void WINAPIV _Trace_agents(/*enum Concurrency::Agents_EventType*/int type, __int64 id, ...) -{ - FIXME("(%d %s)\n", type, wine_dbgstr_longlong(id)); -} #endif #if _MSVCR_VER>=120