From 51fd2af788ddf81b301f50050cf04e9bcba0f8e3 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Thu, 18 Jul 2013 23:37:36 -0700 Subject: Add noreturn attribute to usage() as suggested by -Wmissing-noreturn Signed-off-by: Alan Coopersmith --- xload.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xload.c b/xload.c index 41a8802..32adcdd 100644 --- a/xload.c +++ b/xload.c @@ -139,7 +139,8 @@ static int light_update = 10 * 1000; * Exit with message describing command line format. */ -static void usage(void) +static void _X_NORETURN +usage(void) { fprintf (stderr, gettext("usage: %s [-options ...]\n\n%s\n"), ProgramName, gettext( -- cgit v1.2.3