https://git.reactos.org/?p=reactos.git;a=commitdiff;h=dff55c9d335ccf729b580…
commit dff55c9d335ccf729b580455757346f4188406c6
Author: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
AuthorDate: Sat Nov 6 18:12:53 2021 +0100
Commit: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
CommitDate: Thu Sep 21 13:33:27 2023 +0200
[NTDLL][RTL] Move RtlpTimeoutDisable definition to the RTL (#4089)
---
dll/ntdll/ldr/ldrinit.c | 2 +-
sdk/lib/rtl/critical.c | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/dll/ntdll/ldr/ldrinit.c b/dll/ntdll/ldr/ldrinit.c
index d5a6b37d923..2dc616a4afd 100644
--- a/dll/ntdll/ldr/ldrinit.c
+++ b/dll/ntdll/ldr/ldrinit.c
@@ -55,7 +55,7 @@ ULONG LdrpNumberOfTlsEntries;
ULONG LdrpNumberOfProcessors;
PVOID NtDllBase;
extern LARGE_INTEGER RtlpTimeout;
-BOOLEAN RtlpTimeoutDisable;
+extern BOOLEAN RtlpTimeoutDisable;
PVOID LdrpHeap;
LIST_ENTRY LdrpHashTable[LDR_HASH_TABLE_ENTRIES];
LIST_ENTRY LdrpDllNotificationList;
diff --git a/sdk/lib/rtl/critical.c b/sdk/lib/rtl/critical.c
index 6ff4737697a..c431b3a66df 100644
--- a/sdk/lib/rtl/critical.c
+++ b/sdk/lib/rtl/critical.c
@@ -21,7 +21,9 @@ static LIST_ENTRY RtlCriticalSectionList = {&RtlCriticalSectionList,
&RtlCritica
static BOOLEAN RtlpCritSectInitialized = FALSE;
static RTL_CRITICAL_SECTION_DEBUG RtlpStaticDebugInfo[MAX_STATIC_CS_DEBUG_OBJECTS];
static BOOLEAN RtlpDebugInfoFreeList[MAX_STATIC_CS_DEBUG_OBJECTS];
+
LARGE_INTEGER RtlpTimeout;
+BOOLEAN RtlpTimeoutDisable;
extern BOOLEAN LdrpShutdownInProgress;
extern HANDLE LdrpShutdownThreadId;