aboutsummaryrefslogtreecommitdiff
path: root/src/rc/rc-service.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2009-04-23 21:31:22 +0000
committerRoy Marples <roy@marples.name>2009-04-23 21:31:22 +0000
commitade85d4bd81d7257f5a7e2e4ed40b9cbbbe23651 (patch)
tree278e8ec69f53fac2bc51b5122e6980e625ffeeca /src/rc/rc-service.c
parent69534746553adb52d3ede38a4cf8cd3630c97091 (diff)
Improve style for KNF
Diffstat (limited to 'src/rc/rc-service.c')
-rw-r--r--src/rc/rc-service.c14
1 files changed, 7 insertions, 7 deletions
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 <roy@marples.name>
@@ -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;