Fixed various GCC compiler warnings for the kernel.

Only main() now gives a warning about the return type (GCC wants an int).
This commit is contained in:
Jorrit Herder
2005-06-21 10:47:46 +00:00
parent 3eeff022fb
commit 355a10864b
9 changed files with 36 additions and 47 deletions

View File

@@ -436,7 +436,6 @@ register struct proc *rp; /* this process is now runnable */
{
/* Add 'rp' to one of the queues of runnable processes. */
register int q = rp->p_priority; /* scheduling queue to use */
register struct proc **xpp; /* iterate over queue */
#if ENABLE_K_DEBUGGING
if(rp->p_ready) {