From fb5615d608420c877a70fc295996e69efa6b1b8d Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Thu, 19 Dec 2013 22:39:27 +0000 Subject: [PATCH] [WDMAUD] * Do not include debug.h into the main header. svn path=/trunk/; revision=61304 --- reactos/drivers/wdm/audio/legacy/wdmaud/control.c | 4 ++++ reactos/drivers/wdm/audio/legacy/wdmaud/deviface.c | 4 ++++ reactos/drivers/wdm/audio/legacy/wdmaud/entry.c | 4 ++++ reactos/drivers/wdm/audio/legacy/wdmaud/mmixer.c | 2 ++ reactos/drivers/wdm/audio/legacy/wdmaud/sup.c | 4 ++++ reactos/drivers/wdm/audio/legacy/wdmaud/wdmaud.h | 2 -- 6 files changed, 18 insertions(+), 2 deletions(-) diff --git a/reactos/drivers/wdm/audio/legacy/wdmaud/control.c b/reactos/drivers/wdm/audio/legacy/wdmaud/control.c index cc176739de0..1b6a90d355e 100644 --- a/reactos/drivers/wdm/audio/legacy/wdmaud/control.c +++ b/reactos/drivers/wdm/audio/legacy/wdmaud/control.c @@ -6,8 +6,12 @@ * PROGRAMMER: Andrew Greenwood * Johannes Anderwald */ + #include "wdmaud.h" +#define NDEBUG +#include + const GUID KSPROPSETID_Sysaudio = {0xCBE3FAA0L, 0xCC75, 0x11D0, {0xB4, 0x65, 0x00, 0x00, 0x1A, 0x18, 0x18, 0xE6}}; NTSTATUS diff --git a/reactos/drivers/wdm/audio/legacy/wdmaud/deviface.c b/reactos/drivers/wdm/audio/legacy/wdmaud/deviface.c index ca4f8834765..f96dae45fef 100644 --- a/reactos/drivers/wdm/audio/legacy/wdmaud/deviface.c +++ b/reactos/drivers/wdm/audio/legacy/wdmaud/deviface.c @@ -6,8 +6,12 @@ * PROGRAMMER: Andrew Greenwood * Johannes Anderwald */ + #include "wdmaud.h" +#define NDEBUG +#include + NTSTATUS WdmAudOpenSysAudioDevice( IN LPWSTR DeviceName, diff --git a/reactos/drivers/wdm/audio/legacy/wdmaud/entry.c b/reactos/drivers/wdm/audio/legacy/wdmaud/entry.c index 5ec43738b5b..810dae411e5 100644 --- a/reactos/drivers/wdm/audio/legacy/wdmaud/entry.c +++ b/reactos/drivers/wdm/audio/legacy/wdmaud/entry.c @@ -6,8 +6,12 @@ * PROGRAMMER: Andrew Greenwood * Johannes Anderwald */ + #include "wdmaud.h" +#define NDEBUG +#include + const GUID KSCATEGORY_SYSAUDIO = {0xA7C7A5B1L, 0x5AF3, 0x11D1, {0x9C, 0xED, 0x00, 0xA0, 0x24, 0xBF, 0x04, 0x07}}; const GUID KSCATEGORY_WDMAUD = {0x3E227E76L, 0x690D, 0x11D2, {0x81, 0x61, 0x00, 0x00, 0xF8, 0x77, 0x5B, 0xF1}}; diff --git a/reactos/drivers/wdm/audio/legacy/wdmaud/mmixer.c b/reactos/drivers/wdm/audio/legacy/wdmaud/mmixer.c index ce8b6faf18c..3cc125b73d1 100644 --- a/reactos/drivers/wdm/audio/legacy/wdmaud/mmixer.c +++ b/reactos/drivers/wdm/audio/legacy/wdmaud/mmixer.c @@ -8,6 +8,8 @@ #include "wdmaud.h" +#define NDEBUG +#include PVOID Alloc(ULONG NumBytes); MIXER_STATUS Close(HANDLE hDevice); diff --git a/reactos/drivers/wdm/audio/legacy/wdmaud/sup.c b/reactos/drivers/wdm/audio/legacy/wdmaud/sup.c index 5083bcc5593..3e2b23d715d 100644 --- a/reactos/drivers/wdm/audio/legacy/wdmaud/sup.c +++ b/reactos/drivers/wdm/audio/legacy/wdmaud/sup.c @@ -6,8 +6,12 @@ * PROGRAMMER: Andrew Greenwood * Johannes Anderwald */ + #include "wdmaud.h" +#define NDEBUG +#include + PVOID AllocateItem( IN POOL_TYPE PoolType, diff --git a/reactos/drivers/wdm/audio/legacy/wdmaud/wdmaud.h b/reactos/drivers/wdm/audio/legacy/wdmaud/wdmaud.h index e463a699e73..caf0175dfb0 100644 --- a/reactos/drivers/wdm/audio/legacy/wdmaud/wdmaud.h +++ b/reactos/drivers/wdm/audio/legacy/wdmaud/wdmaud.h @@ -2,8 +2,6 @@ #include #include #include -#define NDEBUG -#include #include #include #include -- 2.17.1