make the tree compilable again...
Modified: trunk/reactos/include/ndk/pstypes.h
Modified: trunk/reactos/ntoskrnl/ke/sem.c
_____
Modified: trunk/reactos/include/ndk/pstypes.h
--- trunk/reactos/include/ndk/pstypes.h 2005-10-02 12:25:42 UTC (rev
18211)
+++ trunk/reactos/include/ndk/pstypes.h 2005-10-02 12:27:54 UTC (rev
18212)
@@ -13,8 +13,8 @@
#include "ldrtypes.h"
#include "mmtypes.h"
#include "obtypes.h"
-//#include "extypes.h"
#ifndef NTOS_MODE_USER
+#include "extypes.h"
#include "setypes.h"
#endif
_____
Modified: trunk/reactos/ntoskrnl/ke/sem.c
--- trunk/reactos/ntoskrnl/ke/sem.c 2005-10-02 12:25:42 UTC (rev
18211)
+++ trunk/reactos/ntoskrnl/ke/sem.c 2005-10-02 12:27:54 UTC (rev
18212)
@@ -76,7 +76,7 @@
LONG Adjustment,
BOOLEAN Wait)
{
- LONG InitialState, ULONG State;
+ LONG InitialState, State;
KIRQL OldIrql;
PKTHREAD CurrentThread;
@@ -91,7 +91,7 @@
/* Save the Old State and get new one */
InitialState = Semaphore->Header.SignalState;
- State = InitialState + Adjustement;
+ State = InitialState + Adjustment;
/* Check if the Limit was exceeded */
if ((Semaphore->Limit < State) || (InitialState > State))
@@ -105,7 +105,7 @@
Semaphore->Header.SignalState = State;
/* Check if we should wake it */
- if (!(InitialState) &&
!(IsListEmpty(&Semaphore->Header.WaitListHead))
+ if (!(InitialState) &&
!(IsListEmpty(&Semaphore->Header.WaitListHead)))
{
/* Wake the Semaphore */
KiWaitTest(&Semaphore->Header, Increment);