X-Git-Url: http://git.jankratochvil.net/?a=blobdiff_plain;f=ntoskrnl%2Fnt%2Fntsem.c;h=b3e67f21a74a92467f4dbbad90cc75f553e11c8a;hb=HEAD;hp=c7ca8628e9a56dce2a578c0508d65887b38a20fe;hpb=1334f77b1ecef00ac31076ce6bf22bdfeb82d347;p=reactos.git diff --git a/ntoskrnl/nt/ntsem.c b/ntoskrnl/nt/ntsem.c index c7ca862..b3e67f2 100644 --- a/ntoskrnl/nt/ntsem.c +++ b/ntoskrnl/nt/ntsem.c @@ -12,7 +12,8 @@ /* INCLUDES *****************************************************************/ #include -#include +#define NTOS_MODE_KERNEL +#include #include #include #include @@ -85,7 +86,7 @@ NtCreateSemaphore(OUT PHANDLE SemaphoreHandle, PKSEMAPHORE Semaphore; NTSTATUS Status; - Status = ObCreateObject(SemaphoreHandle, + Status = ObRosCreateObject(SemaphoreHandle, DesiredAccess, ObjectAttributes, ExSemaphoreType,