Reactos

[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.

+1 -1
+1 -1
sdk/include/ndk/rtlfuncs.h
··· 247 247 // 248 248 // This macro does nothing in user mode 249 249 // 250 - #define RTL_PAGED_CODE NOP_FUNCTION 250 + #define RTL_PAGED_CODE() 251 251 252 252 #endif 253 253