diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2009-09-07 15:52:36 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2009-09-07 15:52:36 +0300 |
commit | 475ba2111f5c3e0eb755a954785e09d3a35dfabf (patch) | |
tree | 0c9d99c9718a89cf2929a11c596d1e58fb6caed2 | |
parent | 59f791f591059ba44dcbbfe50fa20390e8565781 (diff) | |
download | rpm-475ba2111f5c3e0eb755a954785e09d3a35dfabf.tar.gz rpm-475ba2111f5c3e0eb755a954785e09d3a35dfabf.tar.bz2 rpm-475ba2111f5c3e0eb755a954785e09d3a35dfabf.zip |
Add noreturn annotations to argerror() helper functions
-rw-r--r-- | lib/poptI.c | 1 | ||||
-rw-r--r-- | rpmqv.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/poptI.c b/lib/poptI.c index f460f96b1..5021f17f9 100644 --- a/lib/poptI.c +++ b/lib/poptI.c @@ -25,6 +25,7 @@ struct rpmInstallArguments_s rpmIArgs = { #define POPT_RELOCATE -1021 #define POPT_EXCLUDEPATH -1022 +RPM_GNUC_NORETURN static void argerror(const char * desc) { fprintf(stderr, _("%s: %s\n"), __progname, desc); @@ -127,6 +127,7 @@ static struct poptOption optionsTable[] = { long _stksize = 64 * 1024L; #endif +RPM_GNUC_NORETURN static void argerror(const char * desc) { fprintf(stderr, _("%s: %s\n"), __progname, desc); |