kernel: fix main prototype
This commit is contained in:
parent
5859ad686b
commit
e920c1e1df
2 changed files with 2 additions and 2 deletions
|
@ -26,7 +26,7 @@ FORWARD _PROTOTYPE( void announce, (void));
|
||||||
/*===========================================================================*
|
/*===========================================================================*
|
||||||
* main *
|
* main *
|
||||||
*===========================================================================*/
|
*===========================================================================*/
|
||||||
PUBLIC int main(int argc, char *argv[])
|
PUBLIC int main(void)
|
||||||
{
|
{
|
||||||
/* Start the ball rolling. */
|
/* Start the ball rolling. */
|
||||||
struct boot_image *ip; /* boot image pointer */
|
struct boot_image *ip; /* boot image pointer */
|
||||||
|
|
|
@ -34,7 +34,7 @@ _PROTOTYPE( void save_fpu, (struct proc *) );
|
||||||
_PROTOTYPE( void fpu_sigcontext, (struct proc *, struct sigframe *fr, struct sigcontext *sc) );
|
_PROTOTYPE( void fpu_sigcontext, (struct proc *, struct sigframe *fr, struct sigcontext *sc) );
|
||||||
|
|
||||||
/* main.c */
|
/* main.c */
|
||||||
_PROTOTYPE( void main, (void) );
|
_PROTOTYPE( int main, (void) );
|
||||||
_PROTOTYPE( void prepare_shutdown, (int how) );
|
_PROTOTYPE( void prepare_shutdown, (int how) );
|
||||||
_PROTOTYPE( __dead void minix_shutdown, (struct timer *tp) );
|
_PROTOTYPE( __dead void minix_shutdown, (struct timer *tp) );
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue