Follow changes in libsa/stand.h: exit(void) -> exit(int) (one in a #if

0 block), to make it compile again.
This commit is contained in:
martin 2002-06-06 05:04:28 +00:00
parent 0720ab1874
commit 07cafe307b
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: Locore.c,v 1.1 2000/08/20 14:58:36 mrg Exp $ */
/* $NetBSD: Locore.c,v 1.2 2002/06/06 05:04:28 martin Exp $ */
/*
* Copyright (C) 1995, 1996 Wolfgang Solfrank.
@ -70,7 +70,7 @@ _start(vpd, res, openfirm, arg, argl)
openfirmware = openfirm; /* Save entry to Open Firmware */
setup();
main(arg, argl);
exit();
exit(0);
}
#endif

View File

@ -1,4 +1,4 @@
/* $NetBSD: boot.c,v 1.3 2001/05/31 08:55:19 mrg Exp $ */
/* $NetBSD: boot.c,v 1.4 2002/06/06 05:04:28 martin Exp $ */
#define DEBUG
/*
* Copyright (c) 1997, 1999 Eduardo E. Horvath. All rights reserved.
@ -560,7 +560,7 @@ main()
|| OF_getprop(chosen, "bootpath", bootdev, sizeof bootdev) < 0
|| OF_getprop(chosen, "bootargs", bootline, sizeof bootline) < 0) {
printf("Invalid Openfirmware environment\n");
exit();
exit(0);
}
/*prom2boot(bootdev);*/
kernelname = kernels[0];