From 026972be9bbcfc37cd943d95b04dcb6abd649ead Mon Sep 17 00:00:00 2001 From: Colin Finck Date: Thu, 7 Feb 2008 20:49:58 +0000 Subject: [PATCH] Revert the winddk.h changes of r32197 to make the hal compilable again without any warnings. Someone (preferably ros-arm-bringup ;-), please fix this correctly. The warning is caused, because after the change in r32197, KeRaiseIrqlToSynchLevel is defined as NTKERNELAPI for all architectures. NTKERNELAPI itself is defined to DECLSPEC_IMPORT if the header is not included from ntoskrnl. This is why hal outputs a warning for its KeRaiseIrqlToSynchLevel implementation. As warnings are treated as errors for hal, the build fails. svn path=/trunk/; revision=32198 --- reactos/include/ddk/winddk.h | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/reactos/include/ddk/winddk.h b/reactos/include/ddk/winddk.h index 340e98f1588..d266b313d69 100644 --- a/reactos/include/ddk/winddk.h +++ b/reactos/include/ddk/winddk.h @@ -9495,6 +9495,12 @@ DDKAPI KeRaiseIrqlToDpcLevel( VOID); +NTHALAPI +KIRQL +DDKAPI +KeRaiseIrqlToSynchLevel( + VOID); + #define KeLowerIrql(a) KfLowerIrql(a) #define KeRaiseIrql(a,b) *(b) = KfRaiseIrql(a) @@ -9581,15 +9587,14 @@ NTAPI KeRaiseIrqlToDpcLevel( VOID); -#endif - NTKERNELAPI KIRQL DDKAPI KeRaiseIrqlToSynchLevel( VOID); - +#endif + /** Memory manager routines **/ NTKERNELAPI