From 510af07f3c9ddb8895c8a246acb14efffcaa6eef Mon Sep 17 00:00:00 2001 From: Phillip Susi Date: Tue, 11 Jul 2000 04:02:45 +0000 Subject: [PATCH] Removed calls to ExAllocatePool so code can be used in components that do not link to ntoskrnl.exe svn path=/trunk/; revision=1262 --- reactos/include/debug.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/reactos/include/debug.h b/reactos/include/debug.h index f1131e288a4..a3395b3f06e 100644 --- a/reactos/include/debug.h +++ b/reactos/include/debug.h @@ -29,8 +29,8 @@ #define assert(x) #endif -#define DPRINT1(args...) do { DbgPrint("(%s:%d) ",__FILE__,__LINE__); DbgPrint(args); ExAllocatePool(NonPagedPool,0); } while(0); -#define CHECKPOINT1 do { DbgPrint("%s:%d\n",__FILE__,__LINE__); ExAllocatePool(NonPagedPool,0); } while(0); +#define DPRINT1(args...) do { DbgPrint("(%s:%d) ",__FILE__,__LINE__); DbgPrint(args); } while(0); +#define CHECKPOINT1 do { DbgPrint("%s:%d\n",__FILE__,__LINE__); } while(0); extern unsigned int old_idt[256][2]; //extern unsigned int idt; @@ -47,7 +47,7 @@ extern unsigned int old_idt_valid; #ifndef NDEBUG #define OLD_DPRINT(fmt,args...) do { DbgPrint("(%s:%d) ",__FILE__,__LINE__); DbgPrint(fmt,args); } while(0); #define DPRINT(args...) do { DbgPrint("(%s:%d) ",__FILE__,__LINE__); DbgPrint(args); DPRINT_CHECKS } while(0); -#define CHECKPOINT do { DbgPrint("%s:%d\n",__FILE__,__LINE__); ExAllocatePool(NonPagedPool,0); } while(0); +#define CHECKPOINT do { DbgPrint("%s:%d\n",__FILE__,__LINE__); } while(0); #else //#define DPRINT(args...) do { DPRINT_CHECKS } while (0); #define DPRINT(args...)