rc_deptree_order_services -> rc_deptree_order
This commit is contained in:
parent
e744a6ba24
commit
4bdf9ab63e
@ -476,8 +476,8 @@ char **rc_deptree_depends (rc_depinfo_t *deptree,
|
||||
}
|
||||
librc_hidden_def(rc_deptree_depends)
|
||||
|
||||
char **rc_deptree_order_services (rc_depinfo_t *deptree, const char *runlevel,
|
||||
int options)
|
||||
char **rc_deptree_order (rc_depinfo_t *deptree, const char *runlevel,
|
||||
int options)
|
||||
{
|
||||
char **list = NULL;
|
||||
char **types = NULL;
|
||||
@ -538,7 +538,7 @@ char **rc_deptree_order_services (rc_depinfo_t *deptree, const char *runlevel,
|
||||
|
||||
return (services);
|
||||
}
|
||||
librc_hidden_def(rc_deptree_order_services)
|
||||
librc_hidden_def(rc_deptree_order)
|
||||
|
||||
static bool is_newer_than (const char *file, const char *target)
|
||||
{
|
||||
|
@ -53,7 +53,7 @@ librc_hidden_proto(rc_config_value)
|
||||
librc_hidden_proto(rc_deptree_depends)
|
||||
librc_hidden_proto(rc_deptree_free)
|
||||
librc_hidden_proto(rc_deptree_load)
|
||||
librc_hidden_proto(rc_deptree_order_services)
|
||||
librc_hidden_proto(rc_deptree_order)
|
||||
librc_hidden_proto(rc_deptree_update)
|
||||
librc_hidden_proto(rc_deptree_update_needed)
|
||||
librc_hidden_proto(rc_env_bool)
|
||||
|
6
src/rc.h
6
src/rc.h
@ -192,7 +192,7 @@ char *rc_service_value_get (const char *service, const char *option);
|
||||
* @param value of the option
|
||||
* @return true if saved, otherwise false */
|
||||
bool rc_service_value_set (const char *service, const char *option,
|
||||
const char *value);
|
||||
const char *value);
|
||||
|
||||
/*! Wait for a service to finish
|
||||
* @param service to wait for
|
||||
@ -275,8 +275,8 @@ char **rc_deptree_depends (rc_depinfo_t *deptree, char **types,
|
||||
* @param runlevel to change into
|
||||
* @param options to pass
|
||||
* @return NULL terminated list of services in order */
|
||||
char **rc_deptree_order_services (rc_depinfo_t *deptree, const char *runlevel,
|
||||
int options);
|
||||
char **rc_deptree_order (rc_depinfo_t *deptree, const char *runlevel,
|
||||
int options);
|
||||
|
||||
/*! Free a deptree and its information
|
||||
* @param deptree to free */
|
||||
|
Loading…
Reference in New Issue
Block a user