aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-10-15 16:03:49 +0000
committerRoy Marples <roy@marples.name>2007-10-15 16:03:49 +0000
commita6ae4a6cde87984313211a508b6ef540d6990b66 (patch)
treebe62d1aa90ab6e1536aafbd8ee27b5397cd0cd39 /src
parent5d215f9d63b718eefff69ad20648fb3d66b15c25 (diff)
This is probably better
Diffstat (limited to 'src')
-rw-r--r--src/librc-depend.c2
-rw-r--r--src/rc.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/librc-depend.c b/src/librc-depend.c
index 69c06c2e..936df12d 100644
--- a/src/librc-depend.c
+++ b/src/librc-depend.c
@@ -442,7 +442,7 @@ static void visit_service (rc_depinfo_t *deptree, const char * const *types,
}
char **rc_deptree_depends (rc_depinfo_t *deptree,
- const char * const *types, const char * const *services,
+ const char **types, const char **services,
const char *runlevel, int options)
{
struct lhead sorted;
diff --git a/src/rc.h b/src/rc.h
index 1a5368ad..0639637f 100644
--- a/src/rc.h
+++ b/src/rc.h
@@ -264,8 +264,8 @@ rc_depinfo_t *rc_deptree_load (void);
* @param services to check
* @param options to pass
* @return NULL terminated list of services in order */
-char **rc_deptree_depends (rc_depinfo_t *deptree, const char * const *types,
- const char * const *services, const char *runlevel,
+char **rc_deptree_depends (rc_depinfo_t *deptree, const char **types,
+ const char **services, const char *runlevel,
int options);
/*! List all the services that should be stoppned and then started, in order,