summaryrefslogtreecommitdiff
path: root/src/rc/_usage.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rc/_usage.c')
-rw-r--r--src/rc/_usage.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/rc/_usage.c b/src/rc/_usage.c
index cd621d9..652a1e8 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>", "[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"))) {