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 <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5351 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Stefan Reinauer 2010-04-03 00:03:07 +00:00 committed by Stefan Reinauer
parent 26afd18e10
commit bed872dedf
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ struct filelist {
struct filelist *include_filelist = NULL; struct filelist *include_filelist = NULL;
static void die(char *fmt, ...) static void __attribute__((noreturn)) die(char *fmt, ...)
{ {
va_list args; va_list args;