Piotr Caban : msvcrt: Move _Trace_agents function to concurrency.c.

Alexandre Julliard julliard at winehq.org
Wed Aug 18 16:22:10 CDT 2021


Module: wine
Branch: master
Commit: 69e2467aa78350f0e5a1e349f23e23a0550808c7
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=69e2467aa78350f0e5a1e349f23e23a0550808c7

Author: Piotr Caban <piotr at 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 at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at 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 at Concurrency@@YAXW4Agents_EventType at 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 at Concurrency@@YAXW4Agents_EventType at 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




More information about the wine-cvs mailing list