Silent debug messages
Modified: trunk/reactos/ntoskrnl/io/remlock.c
_____
Modified: trunk/reactos/ntoskrnl/io/remlock.c
--- trunk/reactos/ntoskrnl/io/remlock.c 2005-02-24 20:47:07 UTC (rev
13734)
+++ trunk/reactos/ntoskrnl/io/remlock.c 2005-02-24 21:28:49 UTC (rev
13735)
@@ -10,6 +10,7 @@
/* INCLUDES
******************************************************************/
+#define NDEBUG
#include <ntoskrnl.h>
#include <internal/debug.h>
@@ -27,7 +28,7 @@
IN ULONG HighWatermark,
IN ULONG RemlockSize)
{
- DPRINT("IoInitializeRemoveLockEx called");
+ DPRINT("IoInitializeRemoveLockEx called\n");
RtlZeroMemory(RemoveLock, RemlockSize);
RemoveLock->Common.IoCount = 1;
KeInitializeEvent(&RemoveLock->Common.RemoveEvent, NotificationEvent,
FALSE);
@@ -45,7 +46,7 @@
IN ULONG Line,
IN ULONG RemlockSize)
{
- DPRINT("IoAcquireRemoveLockEx called");
+ DPRINT("IoAcquireRemoveLockEx called\n");
InterlockedIncrement(&RemoveLock->Common.IoCount);
if (RemoveLock->Common.Removed)
{
@@ -70,7 +71,7 @@
{
LONG IoCount;
- DPRINT("IoReleaseRemoveLockEx called");
+ DPRINT("IoReleaseRemoveLockEx called\n");
IoCount = InterlockedDecrement(&RemoveLock->Common.IoCount);
if (IoCount == 0)
{
@@ -88,7 +89,7 @@
IN PVOID Tag,
IN ULONG RemlockSize)
{
- DPRINT("IoReleaseRemoveLockAndWaitEx called");
+ DPRINT("IoReleaseRemoveLockAndWaitEx called\n");
RemoveLock->Common.Removed = TRUE;
InterlockedDecrement(&RemoveLock->Common.IoCount);
IoReleaseRemoveLockEx(RemoveLock, Tag, RemlockSize);
Show replies by date