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/rc-service.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/rc/rc-service.c') diff --git a/src/rc/rc-service.c b/src/rc/rc-service.c index ab3d47b2..82d4cf22 100644 --- a/src/rc/rc-service.c +++ b/src/rc/rc-service.c @@ -1,7 +1,7 @@ /* - rc-service.c - Finds all OpenRC services - */ + rc-service.c + Finds all OpenRC services +*/ /* * Copyright 2008 Roy Marples @@ -70,7 +70,7 @@ rc_service(int argc, char **argv) unsetenv("EINFO_QUIET"); while ((opt = getopt_long(argc, argv, getoptstring, - longopts, (int *) 0)) != -1) + longopts, (int *) 0)) != -1) { switch (opt) { case 'e': @@ -87,7 +87,7 @@ rc_service(int argc, char **argv) return EXIT_FAILURE; rc_stringlist_sort(&list); TAILQ_FOREACH(s, list, entries) - printf("%s\n", s->value); + printf("%s\n", s->value); #ifdef DEBUG_MEMORY rc_stringlist_free(list); #endif @@ -104,8 +104,8 @@ rc_service(int argc, char **argv) return EXIT_SUCCESS; /* NOTREACHED */ - case_RC_COMMON_GETOPT - } + case_RC_COMMON_GETOPT + } } argc -= optind; -- cgit v1.2.3