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

@@ -150,10 +150,6 @@ message *m_ptr; /* pointer to request message */
/* Despite its name, this routine is not called on every clock tick. It
* is called on those clock ticks when a lot of work needs to be done.
*/
register struct proc *rp;
register int proc_nr;
timer_t *tp;
struct proc *p;
/* Check if a clock timer expired and run its watchdog function. */
if (next_timeout <= realtime) {
@@ -226,7 +222,6 @@ irq_hook_t *hook;
* faster on a 5MHz 8088, and make task debugging much easier since there are
* no task switches on an inactive system.
*/
register struct proc *rp;
register unsigned ticks;
message m;
#if ! NEW_TIME_COUNT