From: John Hodge Date: Wed, 6 Nov 2013 04:00:22 +0000 (+0800) Subject: Kernel - Clean up prototypes in threads.c X-Git-Tag: rel0.15~99 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=986a763a1f3ee23b2fe3e809e2b5f023d9df6898;p=tpg%2Facess2.git Kernel - Clean up prototypes in threads.c --- diff --git a/KernelLand/Kernel/threads.c b/KernelLand/Kernel/threads.c index a1d3cdb9..1781f699 100644 --- a/KernelLand/Kernel/threads.c +++ b/KernelLand/Kernel/threads.c @@ -49,7 +49,7 @@ void Threads_Delete(tThread *Thread); char *Threads_GetName(tTID ID); #if 0 void Threads_SetPriority(tThread *Thread, int Pri); -tThread *Threads_CloneTCB(Uint *Err, Uint Flags); +tThread *Threads_CloneTCB(Uint Flags); int Threads_WaitTID(int TID, int *status); tThread *Threads_GetThread(Uint TID); #endif @@ -59,9 +59,7 @@ void Threads_int_AddToList(tThreadList *List, tThread *Thread); void Threads_Exit(int TID, int Status); void Threads_Kill(tThread *Thread, int Status); void Threads_Yield(void); -#endif int Threads_int_Sleep(enum eThreadStatus Status, void *Ptr, int Num, tThread **ListHead, tThread **ListTail, tShortSpinlock *Lock); -#if 0 void Threads_Sleep(void); int Threads_Wake(tThread *Thread); void Threads_AddActive(tThread *Thread);