From 98da1298ca82b232bdff0abec81ca325f00031d9 Mon Sep 17 00:00:00 2001 From: Marek Polacek Date: Fri, 29 Oct 2010 01:04:30 +0200 Subject: chrt: Add noreturn attribute to show_usage() function Signed-off-by: Marek Polacek --- schedutils/chrt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'schedutils/chrt.c') diff --git a/schedutils/chrt.c b/schedutils/chrt.c index 89b12c701..811eb200e 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; -- cgit v1.2.3-55-g7522