Repair errors and warnings flagged by llvm.

This commit is contained in:
Kees van Reeuwijk
2010-07-06 11:29:23 +00:00
parent 368f77ceea
commit 0cfdb11450
33 changed files with 71 additions and 106 deletions
+2 -1
View File
@@ -26,7 +26,7 @@ FORWARD _PROTOTYPE( void announce, (void));
/*===========================================================================*
* main *
*===========================================================================*/
PUBLIC void main(void)
PUBLIC int main(int argc, char *argv[])
{
/* Start the ball rolling. */
struct boot_image *ip; /* boot image pointer */
@@ -260,6 +260,7 @@ PUBLIC void main(void)
switch_to_user();
NOT_REACHABLE;
return 1;
}
/*===========================================================================*