https://git.reactos.org/?p=reactos.git;a=commitdiff;h=f6108f3187789fba6fb5c…
commit f6108f3187789fba6fb5cd05ce66eee99ee93812
Author: Amine Khaldi <amine.khaldi(a)reactos.org>
AuthorDate: Sat Dec 9 13:24:35 2017 +0100
[MSAFD] Move the default debug channel to msafd.h.
---
dll/win32/msafd/misc/dllmain.c | 3 ---
dll/win32/msafd/misc/event.c | 3 ---
dll/win32/msafd/misc/helpers.c | 3 ---
dll/win32/msafd/misc/sndrcv.c | 3 ---
dll/win32/msafd/misc/stubs.c | 3 ---
dll/win32/msafd/msafd.h | 4 ++++
6 files changed, 4 insertions(+), 15 deletions(-)
diff --git a/dll/win32/msafd/misc/dllmain.c b/dll/win32/msafd/misc/dllmain.c
index c2ee828b08..e456796147 100644
--- a/dll/win32/msafd/misc/dllmain.c
+++ b/dll/win32/msafd/misc/dllmain.c
@@ -15,9 +15,6 @@
#include <winuser.h>
#include <wchar.h>
-#include <wine/debug.h>
-WINE_DEFAULT_DEBUG_CHANNEL(msafd);
-
HANDLE GlobalHeap;
WSPUPCALLTABLE Upcalls;
DWORD CatalogEntryId; /* CatalogEntryId for upcalls */
diff --git a/dll/win32/msafd/misc/event.c b/dll/win32/msafd/misc/event.c
index 27ceb3cae3..467c039cb4 100644
--- a/dll/win32/msafd/misc/event.c
+++ b/dll/win32/msafd/misc/event.c
@@ -12,9 +12,6 @@
#include <msafd.h>
-#include <wine/debug.h>
-WINE_DEFAULT_DEBUG_CHANNEL(msafd);
-
int
WSPAPI
WSPEventSelect(
diff --git a/dll/win32/msafd/misc/helpers.c b/dll/win32/msafd/misc/helpers.c
index aab52bab61..69ee86a1e4 100644
--- a/dll/win32/msafd/misc/helpers.c
+++ b/dll/win32/msafd/misc/helpers.c
@@ -14,9 +14,6 @@
#include <winreg.h>
-#include <wine/debug.h>
-WINE_DEFAULT_DEBUG_CHANNEL(msafd);
-
CRITICAL_SECTION HelperDLLDatabaseLock;
LIST_ENTRY HelperDLLDatabaseListHead;
diff --git a/dll/win32/msafd/misc/sndrcv.c b/dll/win32/msafd/misc/sndrcv.c
index 2f5fd3270d..507bd47256 100644
--- a/dll/win32/msafd/misc/sndrcv.c
+++ b/dll/win32/msafd/misc/sndrcv.c
@@ -12,9 +12,6 @@
#include <msafd.h>
-#include <wine/debug.h>
-WINE_DEFAULT_DEBUG_CHANNEL(msafd);
-
INT
WSPAPI
WSPAsyncSelect(IN SOCKET Handle,
diff --git a/dll/win32/msafd/misc/stubs.c b/dll/win32/msafd/misc/stubs.c
index 215cb2c4e3..2ee41289cd 100644
--- a/dll/win32/msafd/misc/stubs.c
+++ b/dll/win32/msafd/misc/stubs.c
@@ -10,9 +10,6 @@
#include <msafd.h>
-#include <wine/debug.h>
-WINE_DEFAULT_DEBUG_CHANNEL(msafd);
-
INT
WSPAPI
WSPCancelBlockingCall(
diff --git a/dll/win32/msafd/msafd.h b/dll/win32/msafd/msafd.h
index 1b8d3cf463..3765c2fca7 100644
--- a/dll/win32/msafd/msafd.h
+++ b/dll/win32/msafd/msafd.h
@@ -28,6 +28,10 @@
#include <tdi.h>
#include <afd/shared.h>
#include <mswsock.h>
+
+#include <wine/debug.h>
+WINE_DEFAULT_DEBUG_CHANNEL(msafd);
+
#include "include/helpers.h"
extern HANDLE GlobalHeap;