aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/librc-depend.c6
-rw-r--r--src/librc.h2
-rw-r--r--src/rc.h6
3 files changed, 7 insertions, 7 deletions
diff --git a/src/librc-depend.c b/src/librc-depend.c
index 1e4225b8..62ceaac7 100644
--- a/src/librc-depend.c
+++ b/src/librc-depend.c
@@ -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)
{
diff --git a/src/librc.h b/src/librc.h
index 410d7276..c8ec3ddb 100644
--- a/src/librc.h
+++ b/src/librc.h
@@ -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)
diff --git a/src/rc.h b/src/rc.h
index e5aa8ef3..42c38389 100644
--- a/src/rc.h
+++ b/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 */