In message <[EMAIL PROTECTED]> you wrote:
> 
> Signed-off-by: Mike Frysinger <[EMAIL PROTECTED]>
> ---
>  include/common.h |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/include/common.h b/include/common.h
> index 54083f1..bcb8bb9 100644
> --- a/include/common.h
> +++ b/include/common.h
> @@ -203,8 +203,8 @@ void      init_cmd_timeout(void);
>  void reset_cmd_timeout(void);
>  
>  /* lib_$(ARCH)/board.c */
> -void board_init_f  (ulong);
> -void board_init_r  (gd_t *, ulong);
> +void board_init_f  (ulong) __attribute__ ((noreturn));
> +void board_init_r  (gd_t *, ulong) __attribute__ ((noreturn));


Well - now I get compile warnings (on PPC):

        board.c: In function 'board_init_f':
        board.c:615: warning: 'noreturn' function does return

How to fix?

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED]
How much net work could a network work, if a network could net work?

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users

Reply via email to