summaryrefslogtreecommitdiff
path: root/src/rc/rc-depend.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-01-11 15:51:40 +0000
committerRoy Marples <roy@marples.name>2008-01-11 15:51:40 +0000
commitabde759d5bf6028135667779297d30491f1f4688 (patch)
tree079a40a45ce9199933cc3c0367d671804289018f /src/rc/rc-depend.c
parentfec312d4482e17328394f3e87b4ad28b1f062b7f (diff)
downloadopenrc-abde759d5bf6028135667779297d30491f1f4688.tar.gz
openrc-abde759d5bf6028135667779297d30491f1f4688.tar.bz2
openrc-abde759d5bf6028135667779297d30491f1f4688.tar.xz
Re-indent to a standard tw of 8.
Diffstat (limited to 'src/rc/rc-depend.c')
-rw-r--r--src/rc/rc-depend.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rc/rc-depend.c b/src/rc/rc-depend.c
index c5e9e66..4a5d64e 100644
--- a/src/rc/rc-depend.c
+++ b/src/rc/rc-depend.c
@@ -99,7 +99,7 @@ int rc_depend (int argc, char **argv)
applet = basename_c (argv[0]);
while ((opt = getopt_long (argc, argv, getoptstring,
- longopts, (int *) 0)) != -1)
+ longopts, (int *) 0)) != -1)
{
switch (opt) {
case 's':
@@ -116,7 +116,7 @@ int rc_depend (int argc, char **argv)
options &= RC_DEP_TRACE;
break;
- case_RC_COMMON_GETOPT
+ case_RC_COMMON_GETOPT
}
}
@@ -140,7 +140,7 @@ int rc_depend (int argc, char **argv)
rc_strlist_add (&list, argv[optind]);
errno = 0;
depends = rc_deptree_depends (deptree, NULL, (const char **) list,
- runlevel, 0);
+ runlevel, 0);
if (! depends && errno == ENOENT)
eerror ("no dependency info for service `%s'", argv[optind]);
else
@@ -167,7 +167,7 @@ int rc_depend (int argc, char **argv)
}
depends = rc_deptree_depends (deptree, (const char **) types,
- (const char **) services, runlevel, options);
+ (const char **) services, runlevel, options);
if (depends) {
STRLIST_FOREACH (depends, service, i) {