summaryrefslogtreecommitdiff
path: root/util/romcc
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2010-04-03 00:03:07 +0000
committerStefan Reinauer <stepan@openbios.org>2010-04-03 00:03:07 +0000
commitbed872dedfeb3b3ce33c0ce715904887a729e76f (patch)
tree995eec28eb7fd4a0e4de6a14f622b44104c7afc9 /util/romcc
parent26afd18e1084c026c655aea7f7066a32c5d9ef90 (diff)
downloadcoreboot-bed872dedfeb3b3ce33c0ce715904887a729e76f.tar.xz
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.c2
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;