[U-Boot-Users] [PATCH] Mark board_init_[fr] as noreturn

Mike Frysinger vapier at gentoo.org
Mon Jan 28 11:46:01 CET 2008


Signed-off-by: Mike Frysinger <vapier at gentoo.org>
---
 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));
 int	checkboard    (void);
 int	checkflash    (void);
 int	checkdram     (void);
-- 
1.5.3.8





More information about the U-Boot mailing list