From 24d71eb4a2650662f8863f7811735c839d9d4799 Mon Sep 17 00:00:00 2001 From: Ben Hutchings Date: Fri, 25 Jun 2010 15:48:46 +0100 Subject: ethtool: Mark show_usage() as noreturn Signed-off-by: Ben Hutchings Signed-off-by: Jeff Garzik --- ethtool.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ethtool.c') diff --git a/ethtool.c b/ethtool.c index 8969390..d4bf5a8 100644 --- a/ethtool.c +++ b/ethtool.c @@ -220,6 +220,8 @@ static struct option { }; +static void show_usage(int badarg) __attribute__((noreturn)); + static void show_usage(int badarg) { int i; -- cgit v1.2.1