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

@@ -25,7 +25,6 @@ message *m_ptr; /* pointer to request message */
/* Handle sys_exit. A server or driver wants to exit. This may happen
* on a panic, but also is done when MINIX is shutdown.
*/
register struct proc *rp;
int proc_nr = m_ptr->m_source; /* can only exit own process */
if (m_ptr->EXIT_STATUS != 0) {