[KDCOM]
authorAmine Khaldi <amine.khaldi@reactos.org>
Wed, 1 Jan 2014 22:24:17 +0000 (22:24 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Wed, 1 Jan 2014 22:24:17 +0000 (22:24 +0000)
* Do not include debug.h into the main header.
CORE-7716

svn path=/trunk/; revision=61485

reactos/drivers/base/kdcom/kdcom.c
reactos/drivers/base/kdcom/kddll.c
reactos/drivers/base/kdcom/kddll.h
reactos/drivers/base/kdcom/kdserial.c

index d3edc3c..0e9fc0f 100644 (file)
@@ -10,6 +10,8 @@
 #include <cportlib/cportlib.h>
 #include <stdlib.h>
 
+#define NDEBUG
+#include <debug.h>
 
 /* Serial debug connection */
 #define DEFAULT_DEBUG_PORT      2 /* COM2 */
index 99b4ad0..7ea2812 100644 (file)
@@ -8,6 +8,9 @@
 
 #include "kddll.h"
 
+#define NDEBUG
+#include <debug.h>
+
 /* GLOBALS ********************************************************************/
 
 PFNDBGPRNT KdpDbgPrint = NULL;
index e672a90..3ff3171 100644 (file)
@@ -16,9 +16,6 @@
 #include <wdbgexts.h>
 #include <ioaccess.h> /* port intrinsics */
 
-#define NDEBUG
-#include <debug.h>
-
 //#define KDDEBUG /* uncomment to enable debugging this dll */
 
 typedef ULONG (*PFNDBGPRNT)(const char *Format, ...);
index a7dcc8f..2837900 100644 (file)
@@ -8,6 +8,9 @@
 
 #include "kddll.h"
 
+#define NDEBUG
+#include <debug.h>
+
 /* FUNCTIONS ******************************************************************/
 
 /******************************************************************************