aboutsummaryrefslogtreecommitdiff
path: root/src/librc.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-10-02 09:02:08 +0000
committerRoy Marples <roy@marples.name>2007-10-02 09:02:08 +0000
commitcef0ad32157562efd93c7ce154a11c0abfd1a7b2 (patch)
tree6fbbb5f53e451be357826ad1dd3061e24a8b1e85 /src/librc.c
parent52f33e2815c830094c851d7b6620c41470188433 (diff)
rc_set_service_option -> rc_service_option_set, rc_get_service_option -> rc_service_option_get
Diffstat (limited to 'src/librc.c')
-rw-r--r--src/librc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/librc.c b/src/librc.c
index 00493d8d..a0ef6aa7 100644
--- a/src/librc.c
+++ b/src/librc.c
@@ -441,7 +441,7 @@ rc_service_state_t rc_service_state (const char *service)
}
librc_hidden_def(rc_service_state)
-char *rc_get_service_option (const char *service, const char *option)
+char *rc_service_option_get (const char *service, const char *option)
{
FILE *fp;
char buffer[RC_LINEBUFFER];
@@ -459,9 +459,9 @@ char *rc_get_service_option (const char *service, const char *option)
return (value);
}
-librc_hidden_def(rc_get_service_option)
+librc_hidden_def(rc_service_option_get)
-bool rc_set_service_option (const char *service, const char *option,
+bool rc_service_option_set (const char *service, const char *option,
const char *value)
{
FILE *fp;
@@ -488,7 +488,7 @@ bool rc_set_service_option (const char *service, const char *option,
free (file);
return (retval);
}
-librc_hidden_def(rc_set_service_option)
+librc_hidden_def(rc_service_option_set)
static pid_t _exec_service (const char *service, const char *arg)
{