From 98da1298ca82b232bdff0abec81ca325f00031d9 Mon Sep 17 00:00:00 2001 From: Marek Polacek Date: Fri, 29 Oct 2010 01:04:30 +0200 Subject: [PATCH] chrt: Add noreturn attribute to show_usage() function Signed-off-by: Marek Polacek --- schedutils/chrt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5