From 16cdbb244cded6f3d8df719b7a0217fdf6bf327d Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Tue, 21 Apr 2009 20:14:31 +0000 Subject: Eliminate various issues brought up by scan-build. Signed-off-by: Patrick Georgi Acked-by: Stefan Reinauer Acked-by: Carl-Daniel Hailfinger git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4152 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/include/console/console.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/include') diff --git a/src/include/console/console.h b/src/include/console/console.h index 3e1607b2a7..cea174c34e 100644 --- a/src/include/console/console.h +++ b/src/include/console/console.h @@ -10,7 +10,7 @@ void console_tx_flush(void); unsigned char console_rx_byte(void); int console_tst_byte(void); void post_code(uint8_t value); -void die(const char *msg); +void __attribute__ ((noreturn)) die(const char *msg); struct console_driver { void (*init)(void); -- cgit v1.2.3