mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 19:42:57 +00:00
[NTOS:PS] Fix compilation errors
This commit is contained in:
parent
a6c90d7973
commit
e113c9c99c
1 changed files with 1 additions and 4 deletions
|
@ -513,7 +513,6 @@ PspExitProcessFromJob(
|
||||||
*/
|
*/
|
||||||
static
|
static
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
NTAPI
|
|
||||||
PspTerminateProcessCallback(
|
PspTerminateProcessCallback(
|
||||||
_In_ PEPROCESS Process,
|
_In_ PEPROCESS Process,
|
||||||
_In_opt_ PVOID Context
|
_In_opt_ PVOID Context
|
||||||
|
@ -635,7 +634,6 @@ PspCloseJob(
|
||||||
_In_ ULONG SystemHandleCount
|
_In_ ULONG SystemHandleCount
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
NTSTATUS Status;
|
|
||||||
PEJOB Job = (PEJOB)ObjectBody;
|
PEJOB Job = (PEJOB)ObjectBody;
|
||||||
|
|
||||||
PAGED_CODE();
|
PAGED_CODE();
|
||||||
|
@ -664,7 +662,7 @@ PspCloseJob(
|
||||||
/* If the job is set to kill on close, terminate all associated processes */
|
/* If the job is set to kill on close, terminate all associated processes */
|
||||||
if (Job->LimitFlags & JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE)
|
if (Job->LimitFlags & JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE)
|
||||||
{
|
{
|
||||||
Status = PspTerminateJobObject(Job, STATUS_SUCCESS);
|
NTSTATUS Status = PspTerminateJobObject(Job, STATUS_SUCCESS);
|
||||||
ASSERT(NT_SUCCESS(Status));
|
ASSERT(NT_SUCCESS(Status));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1884,7 +1882,6 @@ NtQueryInformationJobObject(
|
||||||
NTSTATUS Status;
|
NTSTATUS Status;
|
||||||
BOOLEAN NoOutput;
|
BOOLEAN NoOutput;
|
||||||
PVOID JobInfoBuffer;
|
PVOID JobInfoBuffer;
|
||||||
PLIST_ENTRY NextEntry;
|
|
||||||
PKTHREAD CurrentThread;
|
PKTHREAD CurrentThread;
|
||||||
KPROCESSOR_MODE PreviousMode;
|
KPROCESSOR_MODE PreviousMode;
|
||||||
JOBOBJECT_EXTENDED_LIMIT_INFORMATION ExtendedLimit;
|
JOBOBJECT_EXTENDED_LIMIT_INFORMATION ExtendedLimit;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue