From 5d215f9d63b718eefff69ad20648fb3d66b15c25 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Mon, 15 Oct 2007 14:40:53 +0000 Subject: const correctness --- src/rc.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/rc.h') diff --git a/src/rc.h b/src/rc.h index 6040345a..1a5368ad 100644 --- a/src/rc.h +++ b/src/rc.h @@ -264,8 +264,9 @@ 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, char **types, - char **services, const char *runlevel, int options); +char **rc_deptree_depends (rc_depinfo_t *deptree, const char * const *types, + const char * const *services, const char *runlevel, + int options); /*! List all the services that should be stoppned and then started, in order, * for the given runlevel, including sysinit and boot services where -- cgit v1.2.3