From: Marek Polacek Date: Thu, 28 Oct 2010 23:04:30 +0000 (+0200) Subject: chrt: Add noreturn attribute to show_usage() function X-Git-Tag: v2.19-rc1~291 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=98da1298ca82b232bdff0abec81ca325f00031d9;p=thirdparty%2Futil-linux.git chrt: Add noreturn attribute to show_usage() function Signed-off-by: Marek Polacek --- diff --git a/schedutils/chrt.c b/schedutils/chrt.c index 89b12c7012..811eb200e0 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;