From: Ruben Kerkhof Date: Sat, 5 Mar 2016 16:39:47 +0000 (+0100) Subject: collectdctl: mark as exit_usage as noreturn X-Git-Tag: collectd-5.6.0~413 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=1e50eb31576510f6800454593f9bbe19f043eb06;p=collectd.git collectdctl: mark as exit_usage as noreturn --- 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"