From ade85d4bd81d7257f5a7e2e4ed40b9cbbbe23651 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Thu, 23 Apr 2009 21:31:22 +0000 Subject: Improve style for KNF --- src/rc/_usage.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'src/rc/_usage.c') diff --git a/src/rc/_usage.c b/src/rc/_usage.c index cd621d9e..652a1e87 100644 --- a/src/rc/_usage.c +++ b/src/rc/_usage.c @@ -25,15 +25,16 @@ */ #if lint -# define _noreturn +# define _noreturn #endif #if __GNUC__ > 2 || defined(__INTEL_COMPILER) -# define _noreturn __attribute__ ((__noreturn__)) +# define _noreturn __attribute__ ((__noreturn__)) #else -# define _noreturn +# define _noreturn #endif -_noreturn static void usage(int exit_status) +_noreturn static void +usage(int exit_status) { const char * const has_arg[] = { "", "", "[arg]" }; int i; @@ -53,7 +54,7 @@ _noreturn static void usage(int exit_status) printf("\n\nOptions: [" getoptstring "]\n"); for (i = 0; longopts[i].name; ++i) { len = printf(" -%c, --%s %s", longopts[i].val, longopts[i].name, - has_arg[longopts[i].has_arg]); + has_arg[longopts[i].has_arg]); lo = p = xstrdup(longopts_help[i]); while ((token = strsep(&p, "\n"))) { -- cgit v1.2.3