diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2009-09-07 16:34:20 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2009-09-07 16:34:20 +0300 |
commit | ef0adf1da10146fe5ba166feeba11961478af819 (patch) | |
tree | 59f0df6eb4f34203076e68cfc713ff2f389b5a20 | |
parent | 6fb96f3847bed4c2aba52497eb26b0d2d52207f9 (diff) | |
download | rpm-ef0adf1da10146fe5ba166feeba11961478af819.tar.gz rpm-ef0adf1da10146fe5ba166feeba11961478af819.tar.bz2 rpm-ef0adf1da10146fe5ba166feeba11961478af819.zip |
Add noreturn annotations to javadeps
-rw-r--r-- | tools/javadeps.c | 5 |
1 files 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 <stdarg.h> +#include <rpm/rpmutil.h> #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 |