From 475ba2111f5c3e0eb755a954785e09d3a35dfabf Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Mon, 7 Sep 2009 15:52:36 +0300 Subject: Add noreturn annotations to argerror() helper functions --- lib/poptI.c | 1 + rpmqv.c | 1 + 2 files changed, 2 insertions(+) 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); diff --git a/rpmqv.c b/rpmqv.c index e226f42d6..38401526c 100644 --- a/rpmqv.c +++ b/rpmqv.c @@ -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); -- cgit v1.2.3