mirror of
https://github.com/reactos/reactos.git
synced 2025-07-25 23:24:01 +00:00
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
This commit is contained in:
parent
fb86c24408
commit
026972be9b
1 changed files with 8 additions and 3 deletions
|
@ -9495,6 +9495,12 @@ DDKAPI
|
||||||
KeRaiseIrqlToDpcLevel(
|
KeRaiseIrqlToDpcLevel(
|
||||||
VOID);
|
VOID);
|
||||||
|
|
||||||
|
NTHALAPI
|
||||||
|
KIRQL
|
||||||
|
DDKAPI
|
||||||
|
KeRaiseIrqlToSynchLevel(
|
||||||
|
VOID);
|
||||||
|
|
||||||
#define KeLowerIrql(a) KfLowerIrql(a)
|
#define KeLowerIrql(a) KfLowerIrql(a)
|
||||||
#define KeRaiseIrql(a,b) *(b) = KfRaiseIrql(a)
|
#define KeRaiseIrql(a,b) *(b) = KfRaiseIrql(a)
|
||||||
|
|
||||||
|
@ -9581,14 +9587,13 @@ NTAPI
|
||||||
KeRaiseIrqlToDpcLevel(
|
KeRaiseIrqlToDpcLevel(
|
||||||
VOID);
|
VOID);
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
NTKERNELAPI
|
NTKERNELAPI
|
||||||
KIRQL
|
KIRQL
|
||||||
DDKAPI
|
DDKAPI
|
||||||
KeRaiseIrqlToSynchLevel(
|
KeRaiseIrqlToSynchLevel(
|
||||||
VOID);
|
VOID);
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
/** Memory manager routines **/
|
/** Memory manager routines **/
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue