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/09/2002 01:30:17
tsutsui@ceres.dti.ne.jp 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