Subject: Re: exit() undefined in bootloader build
To: None <itojun@iijlab.net>
From: Matthias Drochner <M.Drochner@fz-juelich.de>
List: tech-kern
Date: 06/01/2002 14:15:21
itojun@iijlab.net said:
> for i386 case, they all share the same sys/lib/libsa/stand.h. if
> it is not the case for other arch, i have no problem,
The main() prototype is defined locally in the resp. bootloader's
main file, so I wouldn't have a problem to deal with exit() the
same way.
(or is there mi code which calls exit() directly? it shouldn't imho)
Otoh, I wouldn't have a problem with exit() always taking an "int",
which could be ignored if appropriate.
It would break the symmetry between main() and exit() handling, so
this is a matter of taste.
best regards
Matthias