summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/poptI.c1
-rw-r--r--rpmqv.c1
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);
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);