Subject: Re: CVS commit: syssrc/sys/arch/bebox/stand/boot
To: None <tsutsui@ceres.dti.ne.jp>
From: Kazuki Sakamoto <sakamoto@splhack.org>
List: source-changes
Date: 04/10/2002 01:07:50
tsutsui@ceres.dti.ne.jp wrote:
> > Which should I use "void main" + "CFLAGS+=-Wno-main" or
> > "int main {... /* NOTREACHED */ return 0;}" ?
>
> I think if the caller of main() doesn't require a return value,
> void main() with -Wno-main is better.
ok, I use void main() with -Wno-main, have commit it.
Thanks,
sakamoto