From 5cb63e5d4a5c65dc8d02719d289d3eac8dfd6614 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Poussineau?= Date: Sat, 19 May 2007 20:45:17 +0000 Subject: [PATCH] Another try to fix release builds to please Colin_Finck... svn path=/trunk/; revision=26842 --- reactos/boot/freeldr/freeldr/debug.c | 6 ++++++ reactos/boot/freeldr/freeldr/include/debug.h | 2 -- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/reactos/boot/freeldr/freeldr/debug.c b/reactos/boot/freeldr/freeldr/debug.c index 8cc9c1401fd..2ae758f41e4 100644 --- a/reactos/boot/freeldr/freeldr/debug.c +++ b/reactos/boot/freeldr/freeldr/debug.c @@ -356,4 +356,10 @@ VOID DebugDumpBuffer(ULONG Mask, PVOID Buffer, ULONG Length) } } +#else + +VOID DebugPrint(ULONG Mask, char *format, ...) +{ +} + #endif // defined DBG diff --git a/reactos/boot/freeldr/freeldr/include/debug.h b/reactos/boot/freeldr/freeldr/include/debug.h index 3c45eeec522..e43b9f7a0cc 100644 --- a/reactos/boot/freeldr/freeldr/include/debug.h +++ b/reactos/boot/freeldr/freeldr/include/debug.h @@ -76,8 +76,6 @@ void MEMORY_WRITE_BREAKPOINT4(unsigned long addr); #else - inline VOID DebugPrint(ULONG Mask, char *format, ...) {} - #define DebugInit() #define DbgPrint(_x_) { if (0) DebugPrint _x_; } #define DPRINT1(_x_) { if (0) printf _x_; }