From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Frysinger Date: Tue, 30 Aug 2011 11:10:59 -0400 Subject: [U-Boot] [PATCH 1/5] coldfire: Change timer_init return type from void to int In-Reply-To: <4E5CDEDA.40808@novasys-ingenierie.com> References: <4E5CDEDA.40808@novasys-ingenierie.com> Message-ID: <201108301111.00896.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tuesday, August 30, 2011 09:00:10 stany MARCEL wrote: > --- a/arch/m68k/cpu/mcf547x_8x/slicetimer.c > +++ b/arch/m68k/cpu/mcf547x_8x/slicetimer.c > > -void timer_init(void) > +int timer_init(void) you should have gotten a build error as the prototype is in common.h. so please add an include for common.h to this file. > --- a/arch/m68k/lib/board.c > +++ b/arch/m68k/lib/board.c > > -extern void timer_init(void); > +extern int timer_init(void); drop the extern and include common.h > --- a/arch/m68k/lib/time.c > +++ b/arch/m68k/lib/time.c > > -void timer_init(void) > +int timer_init(void) include common.h in this file too -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. Url : http://lists.denx.de/pipermail/u-boot/attachments/20110830/ee8de740/attachment.pgp