diff options
author | Marek Polacek | 2010-10-29 01:04:30 +0200 |
---|---|---|
committer | Karel Zak | 2010-10-29 13:26:25 +0200 |
commit | 98da1298ca82b232bdff0abec81ca325f00031d9 (patch) | |
tree | c9a4a176b371273603959d3746bf2d7716a07c11 /schedutils | |
parent | use _exit() instead of exit() in sighandlers (diff) | |
download | kernel-qcow2-util-linux-98da1298ca82b232bdff0abec81ca325f00031d9.tar.gz kernel-qcow2-util-linux-98da1298ca82b232bdff0abec81ca325f00031d9.tar.xz kernel-qcow2-util-linux-98da1298ca82b232bdff0abec81ca325f00031d9.zip |
chrt: Add noreturn attribute to show_usage() function
Signed-off-by: Marek Polacek <mmpolacek@gmail.com>
Diffstat (limited to 'schedutils')
-rw-r--r-- | schedutils/chrt.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |