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:

 > > Modified Files:
 > >    syssrc/sys/arch/bebox/stand/boot: boot.c
 > > 
 > > Log Message:
 > > change return type to int of main.
 > 
 > Isn't it better to add "CFLAGS+= -Wno-main" in Makefile?

Which should I use "void main" + "CFLAGS+=-Wno-main" or
"int main {... /* NOTREACHED */ return 0;}" ?

sakamoto



Home | Main Index | Thread Index | Old Index