This is probably better
This commit is contained in:
parent
5d215f9d63
commit
a6ae4a6cde
@ -442,7 +442,7 @@ static void visit_service (rc_depinfo_t *deptree, const char * const *types,
|
|||||||
}
|
}
|
||||||
|
|
||||||
char **rc_deptree_depends (rc_depinfo_t *deptree,
|
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)
|
const char *runlevel, int options)
|
||||||
{
|
{
|
||||||
struct lhead sorted;
|
struct lhead sorted;
|
||||||
|
4
src/rc.h
4
src/rc.h
@ -264,8 +264,8 @@ rc_depinfo_t *rc_deptree_load (void);
|
|||||||
* @param services to check
|
* @param services to check
|
||||||
* @param options to pass
|
* @param options to pass
|
||||||
* @return NULL terminated list of services in order */
|
* @return NULL terminated list of services in order */
|
||||||
char **rc_deptree_depends (rc_depinfo_t *deptree, const char * const *types,
|
char **rc_deptree_depends (rc_depinfo_t *deptree, const char **types,
|
||||||
const char * const *services, const char *runlevel,
|
const char **services, const char *runlevel,
|
||||||
int options);
|
int options);
|
||||||
|
|
||||||
/*! List all the services that should be stoppned and then started, in order,
|
/*! List all the services that should be stoppned and then started, in order,
|
||||||
|
Loading…
Reference in New Issue
Block a user