From a6ae4a6cde87984313211a508b6ef540d6990b66 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Mon, 15 Oct 2007 16:03:49 +0000 Subject: This is probably better --- src/librc-depend.c | 2 +- src/rc.h | 4 ++-- 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, -- cgit v1.2.3