summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2009-09-07 16:34:20 +0300
committerPanu Matilainen <pmatilai@redhat.com>2009-09-07 16:34:20 +0300
commitef0adf1da10146fe5ba166feeba11961478af819 (patch)
tree59f0df6eb4f34203076e68cfc713ff2f389b5a20
parent6fb96f3847bed4c2aba52497eb26b0d2d52207f9 (diff)
downloadrpm-ef0adf1da10146fe5ba166feeba11961478af819.tar.gz
rpm-ef0adf1da10146fe5ba166feeba11961478af819.tar.bz2
rpm-ef0adf1da10146fe5ba166feeba11961478af819.zip
Add noreturn annotations to javadeps
-rw-r--r--tools/javadeps.c5
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