https://git.reactos.org/?p=reactos.git;a=commitdiff;h=592f01a5941c595c0707a…
commit 592f01a5941c595c0707a2a2c380cba35e82ba80
Author: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
AuthorDate: Sun Nov 24 21:59:30 2019 +0100
Commit: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
CommitDate: Mon Nov 25 00:41:54 2019 +0100
[NTOS:INBV] InbvEnableBootDriver() is an export, thus can be called at any time,
therefore it must NOT be an INIT_FUNCTION.
---
ntoskrnl/inbv/inbv.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/ntoskrnl/inbv/inbv.c b/ntoskrnl/inbv/inbv.c
index f5cd5652493..0681b99e4bd 100644
--- a/ntoskrnl/inbv/inbv.c
+++ b/ntoskrnl/inbv/inbv.c
@@ -495,7 +495,6 @@ InbvReleaseLock(VOID)
if (InbvOldIrql <= DISPATCH_LEVEL) KeLowerIrql(OldIrql);
}
-INIT_FUNCTION
VOID
NTAPI
InbvEnableBootDriver(IN BOOLEAN Enable)