From: Marek Polacek Date: Thu, 28 Oct 2010 23:04:30 +0000 (+0200) Subject: chrt: Add noreturn attribute to show_usage() function X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=98da1298ca82b232bdff0abec81ca325f00031d9;p=util-linux chrt: Add noreturn attribute to show_usage() function Signed-off-by: Marek Polacek --- diff --git a/schedutils/chrt.c b/schedutils/chrt.c index 89b12c70..811eb200 100644 --- a/schedutils/chrt.c +++ b/schedutils/chrt.c @@ -54,7 +54,7 @@ #endif -static void show_usage(int rc) +static void __attribute__((__noreturn__)) show_usage(int rc) { FILE *out = rc == EXIT_SUCCESS ? stdout : stderr;