git://git.jankratochvil.net
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update for HEAD-2003091401
[reactos.git]
/
ntoskrnl
/
nt
/
ntsem.c
diff --git
a/ntoskrnl/nt/ntsem.c
b/ntoskrnl/nt/ntsem.c
index
c7ca862
..
b3e67f2
100644
(file)
--- a/
ntoskrnl/nt/ntsem.c
+++ b/
ntoskrnl/nt/ntsem.c
@@
-12,7
+12,8
@@
/* INCLUDES *****************************************************************/
#include <limits.h>
/* INCLUDES *****************************************************************/
#include <limits.h>
-#include <ddk/ntddk.h>
+#define NTOS_MODE_KERNEL
+#include <ntos.h>
#include <ntos/synch.h>
#include <internal/pool.h>
#include <internal/ps.h>
#include <ntos/synch.h>
#include <internal/pool.h>
#include <internal/ps.h>
@@
-85,7
+86,7
@@
NtCreateSemaphore(OUT PHANDLE SemaphoreHandle,
PKSEMAPHORE Semaphore;
NTSTATUS Status;
PKSEMAPHORE Semaphore;
NTSTATUS Status;
- Status = ObCreateObject(SemaphoreHandle,
+ Status = Ob
Ros
CreateObject(SemaphoreHandle,
DesiredAccess,
ObjectAttributes,
ExSemaphoreType,
DesiredAccess,
ObjectAttributes,
ExSemaphoreType,