Kernel - Clean up prototypes in threads.c
authorJohn Hodge <[email protected]>
Wed, 6 Nov 2013 04:00:22 +0000 (12:00 +0800)
committerJohn Hodge <[email protected]>
Wed, 6 Nov 2013 04:00:22 +0000 (12:00 +0800)
KernelLand/Kernel/threads.c

index a1d3cdb..1781f69 100644 (file)
@@ -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);

UCC git Repository :: git.ucc.asn.au