From bed872dedfeb3b3ce33c0ce715904887a729e76f Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Sat, 3 Apr 2010 00:03:07 +0000 Subject: Add noreturn attribute to die() in romcc. This makes life a lot easier for static analyzers such as scan-build. Signed-off-by: Stefan Reinauer Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5351 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- util/romcc/romcc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util/romcc') diff --git a/util/romcc/romcc.c b/util/romcc/romcc.c index b7c7a01d35..e691f3f585 100644 --- a/util/romcc/romcc.c +++ b/util/romcc/romcc.c @@ -135,7 +135,7 @@ struct filelist { struct filelist *include_filelist = NULL; -static void die(char *fmt, ...) +static void __attribute__((noreturn)) die(char *fmt, ...) { va_list args; -- cgit v1.2.3