https://git.reactos.org/?p=reactos.git;a=commitdiff;h=ff045b2dbea893b162a20…
commit ff045b2dbea893b162a200daa9d1fec641897659
Author:     Hervé Poussineau <hpoussin(a)reactos.org>
AuthorDate: Thu Mar 26 16:28:10 2020 +0100
Commit:     Hervé Poussineau <hpoussin(a)reactos.org>
CommitDate: Thu Mar 26 16:39:16 2020 +0100
    [NDK] Fix RTL_PAGED_CODE macro in user mode
    NOP_FUNCTION is defined to "(void)0". Calling :
            RTL_PAGED_CODE();
    in user mode was changed to:
            (void)0();
    As "0" is not callable, this was leading to a compilation error.
---
 sdk/include/ndk/rtlfuncs.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sdk/include/ndk/rtlfuncs.h b/sdk/include/ndk/rtlfuncs.h
index 5b6f878b140..68f43745199 100644
--- a/sdk/include/ndk/rtlfuncs.h
+++ b/sdk/include/ndk/rtlfuncs.h
@@ -247,7 +247,7 @@ RtlConvertUlongToLuid(
 //
 // This macro does nothing in user mode
 //
-#define RTL_PAGED_CODE NOP_FUNCTION
+#define RTL_PAGED_CODE()
 #endif