Skip to contentSkip to conversation

Fix compile warning on lib_ppc/board.c

PATCH New Anatolij Gustschin 2 participants 2 messages Feb 14, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix compile warning on lib_ppc/board.c

Fix compile warning on lib_ppc/board.c:615

---
 include/common.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
include/common.h +1 -1
index 13428b3..854c444 100644
@@ -388,7 +388,7 @@ void	icache_disable(void);
 int	dcache_status (void);
 void	dcache_enable (void);
 void	dcache_disable(void);
-void	relocate_code (ulong, gd_t *, ulong);
+void	relocate_code (ulong, gd_t *, ulong) __attribute__ ((noreturn));
 ulong	get_endaddr   (void);
 void	trap_init     (ulong);
 #if defined (CONFIG_4xx)	|| \
Signature · 1 line
1.5.3.3
#1 lore raw

PATCH 1/1 Fix compile warning on lib_ppc/board.c

Quoted 6 lines · In message <[email protected]> you wrote:

Fix compile warning on lib_ppc/board.c:615

---
 include/common.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

Signature · 7 lines
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: wd at denx.de
In the pitiful, multipage, connection-boxed form to which  the  flow-
chart  has  today  been  elaborated, it has proved to be useless as a
design tool -- programmers draw flowcharts after, not before, writing
the programs they describe.                        - Fred Brooks, Jr.