]> err.no Git - util-linux/commitdiff
chrt: Add noreturn attribute to show_usage() function
authorMarek Polacek <mmpolacek@gmail.com>
Thu, 28 Oct 2010 23:04:30 +0000 (01:04 +0200)
committerKarel Zak <kzak@redhat.com>
Fri, 29 Oct 2010 11:26:25 +0000 (13:26 +0200)
Signed-off-by: Marek Polacek <mmpolacek@gmail.com>
schedutils/chrt.c

index 89b12c7012a528b6acb6ebff4d8c01e04d80a810..811eb200e0f0dee3899d3fd03e9235ffc9132b41 100644 (file)
@@ -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;