diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2010-04-03 00:03:07 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2010-04-03 00:03:07 +0000 |
commit | bed872dedfeb3b3ce33c0ce715904887a729e76f (patch) | |
tree | 995eec28eb7fd4a0e4de6a14f622b44104c7afc9 /util/romcc | |
parent | 26afd18e1084c026c655aea7f7066a32c5d9ef90 (diff) |
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
Diffstat (limited to 'util/romcc')
-rw-r--r-- | util/romcc/romcc.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |