From 43bdfc834c2b752f9d25b4919edd377b6aeed126 Mon Sep 17 00:00:00 2001 From: Aleksey Bragin Date: Thu, 15 Sep 2005 20:24:30 +0000 Subject: [PATCH] Fix the tree at last, by reverting previous changes to RtlpCheckForActiveDebugger. svn path=/trunk/; revision=17870 --- reactos/lib/rtl/exception.c | 4 ++-- reactos/lib/rtl/rtlp.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/reactos/lib/rtl/exception.c b/reactos/lib/rtl/exception.c index cd1230c90f4..6e2d0f53bdc 100644 --- a/reactos/lib/rtl/exception.c +++ b/reactos/lib/rtl/exception.c @@ -39,7 +39,7 @@ RtlRaiseException(PEXCEPTION_RECORD ExceptionRecord) Context.ContextFlags = CONTEXT_FULL; /* Check if we're being debugged (user-mode only) */ - if (!RtlpCheckForActiveDebugger(TRUE)) + if (!RtlpCheckForActiveDebugger()) { /* Raise an exception immediately */ Status = ZwRaiseException(ExceptionRecord, &Context, TRUE); @@ -91,7 +91,7 @@ RtlRaiseStatus(NTSTATUS Status) Context.ContextFlags = CONTEXT_FULL; /* Check if we're being debugged (user-mode only) */ - if (!RtlpCheckForActiveDebugger(TRUE)) + if (!RtlpCheckForActiveDebugger()) { /* Raise an exception immediately */ ZwRaiseException(&ExceptionRecord, &Context, TRUE); diff --git a/reactos/lib/rtl/rtlp.h b/reactos/lib/rtl/rtlp.h index 25625e012a9..55d0742a0d5 100644 --- a/reactos/lib/rtl/rtlp.h +++ b/reactos/lib/rtl/rtlp.h @@ -51,7 +51,7 @@ RtlLeaveHeapLock(PRTL_CRITICAL_SECTION CriticalSection); BOOLEAN NTAPI -RtlpCheckForActiveDebugger(BOOLEAN Type); +RtlpCheckForActiveDebugger(VOID); BOOLEAN NTAPI