diff --git a/reactos/ntoskrnl/include/internal/ps.h b/reactos/ntoskrnl/include/internal/ps.h index 9cca3b45d38..0a9b2affc14 100644 --- a/reactos/ntoskrnl/include/internal/ps.h +++ b/reactos/ntoskrnl/include/internal/ps.h @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -/* $Id: ps.h,v 1.54 2003/11/27 01:06:48 gdalsnes Exp $ +/* $Id: ps.h,v 1.55 2003/12/14 18:02:34 hbirr Exp $ * * FILE: ntoskrnl/ke/kthread.c * PURPOSE: Process manager definitions @@ -508,7 +508,7 @@ VOID PsApplicationProcessorInit(VOID); VOID PsPrepareForApplicationProcessorInit(ULONG Id); -NTSTATUS STDCALL +VOID STDCALL PsIdleThreadMain(PVOID Context); VOID STDCALL diff --git a/reactos/ntoskrnl/ps/idle.c b/reactos/ntoskrnl/ps/idle.c index 8575dbfc89f..7dc1dabb4c2 100644 --- a/reactos/ntoskrnl/ps/idle.c +++ b/reactos/ntoskrnl/ps/idle.c @@ -25,7 +25,7 @@ PETHREAD PiIdleThread; /* FUNCTIONS *****************************************************************/ -NTSTATUS STDCALL +VOID STDCALL PsIdleThreadMain(PVOID Context) { KIRQL oldlvl; @@ -54,7 +54,7 @@ PsInitIdleThread(VOID) NULL, NULL, NULL, - (PKSTART_ROUTINE) PsIdleThreadMain, + PsIdleThreadMain, NULL); Priority = LOW_PRIORITY; diff --git a/reactos/ntoskrnl/ps/thread.c b/reactos/ntoskrnl/ps/thread.c index 39c1c148515..05a3557bdbb 100644 --- a/reactos/ntoskrnl/ps/thread.c +++ b/reactos/ntoskrnl/ps/thread.c @@ -1,4 +1,4 @@ -/* $Id: thread.c,v 1.122 2003/11/17 02:12:51 hyperion Exp $ +/* $Id: thread.c,v 1.123 2003/12/14 18:02:33 hbirr Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -199,7 +199,7 @@ PiWakeupReaperThread(VOID) KeSetEvent(&PiReaperThreadEvent, 0, FALSE); } -NTSTATUS STDCALL +VOID STDCALL PiReaperThreadMain(PVOID Ignored) { while (1) @@ -506,7 +506,7 @@ PsInitThreadManagment(VOID) NULL, NULL, NULL, - (PKSTART_ROUTINE) PiReaperThreadMain, + PiReaperThreadMain, NULL); if (!NT_SUCCESS(Status)) { @@ -624,6 +624,8 @@ NtAlertResumeThread(IN HANDLE ThreadHandle, OUT PULONG SuspendCount) { UNIMPLEMENTED; + return(STATUS_NOT_IMPLEMENTED); + }