From ef0adf1da10146fe5ba166feeba11961478af819 Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Mon, 7 Sep 2009 16:34:20 +0300 Subject: Add noreturn annotations to javadeps --- tools/javadeps.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/javadeps.c b/tools/javadeps.c index 3137af0b2..5a20901a3 100644 --- a/tools/javadeps.c +++ b/tools/javadeps.c @@ -65,6 +65,7 @@ marc@redhat.com and ewt@redhat.com. */ #include +#include #include "debug.h" /*---------typedefs---------*/ @@ -281,7 +282,7 @@ usage (void) exit(-1); } - +RPM_GNUC_NORETURN void outofmemory(void) { /* Its doubtful we could do a printf if there is really a memory @@ -291,7 +292,7 @@ void outofmemory(void) { exit(-1); } - +RPM_GNUC_NORETURN void die(const char *format, ...) { /* Most errors are fatal. This function throws a fatal error and -- cgit v1.2.3