diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-07-18 23:37:36 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-07-18 23:37:36 -0700 |
commit | 51fd2af788ddf81b301f50050cf04e9bcba0f8e3 (patch) | |
tree | e5e44095240d799f0d900b34dd6fe1b5bdaea9b0 /xload.c | |
parent | 2f6ff61d2edbffdd2949a0546a7df67603462fca (diff) |
Add noreturn attribute to usage() as suggested by -Wmissing-noreturn
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'xload.c')
-rw-r--r-- | xload.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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( |