[PATCH] chrt.c: Add noreturn attribute to show_usage() function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Marek Polacek <mmpolacek@xxxxxxxxx>
---
 schedutils/chrt.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/schedutils/chrt.c b/schedutils/chrt.c
index 89b12c7..811eb20 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;

-- 
1.7.3.2


--
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux