aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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,