From 1e50eb31576510f6800454593f9bbe19f043eb06 Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Sat, 5 Mar 2016 17:39:47 +0100 Subject: [PATCH] collectdctl: mark as exit_usage as noreturn --- src/collectdctl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/collectdctl.c b/src/collectdctl.c index febc9983..7d3cbce8 100644 --- a/src/collectdctl.c +++ b/src/collectdctl.c @@ -72,6 +72,7 @@ extern char *optarg; extern int optind; +__attribute__((noreturn)) static void exit_usage (const char *name, int status) { fprintf ((status == 0) ? stdout : stderr, "Usage: %s [options] [cmd options]\n\n" -- 2.11.0