aboutsummaryrefslogtreecommitdiff
path: root/src/rc.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-10-15 14:40:53 +0000
committerRoy Marples <roy@marples.name>2007-10-15 14:40:53 +0000
commit5d215f9d63b718eefff69ad20648fb3d66b15c25 (patch)
tree7402c207a87f290d9b81966102ca751f25b5758a /src/rc.h
parentc7f679e97e83de461c8f2de320b6b120bdecc50a (diff)
const correctness
Diffstat (limited to 'src/rc.h')
-rw-r--r--src/rc.h5
1 files changed, 3 insertions, 2 deletions
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