Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: syssrc/sys/arch/bebox/stand/boot
tsutsui%ceres.dti.ne.jp@localhost 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
Home |
Main Index |
Thread Index |
Old Index