aboutsummaryrefslogtreecommitdiff
path: root/src/librc-daemon.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-10-04 13:51:57 +0000
committerRoy Marples <roy@marples.name>2007-10-04 13:51:57 +0000
commitdaf868394fb65a6501472a99f0ec9e03a891558f (patch)
treedcff9611bc029c895bed9f895c33cdf338ef300b /src/librc-daemon.c
parent379b66936cb2366ce46d5d6a351bd89db6906812 (diff)
__rc_service_daemon_set is now a private function
Diffstat (limited to 'src/librc-daemon.c')
-rw-r--r--src/librc-daemon.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/librc-daemon.c b/src/librc-daemon.c
index b1734f67..7e20ab0f 100644
--- a/src/librc-daemon.c
+++ b/src/librc-daemon.c
@@ -148,7 +148,7 @@ pid_t *rc_find_pids (const char *exec, const char *cmd,
librc_hidden_def(rc_find_pids)
#elif defined(__DragonFly__) || defined(__FreeBSD__) || \
- defined(__NetBSD__) || defined(__OpenBSD__)
+ defined(__NetBSD__) || defined(__OpenBSD__)
# if defined(__DragonFly__) || defined(__FreeBSD__)
# ifndef KERN_PROC_PROC
@@ -283,9 +283,9 @@ static bool _match_daemon (const char *path, const char *file,
return (m == 111 ? true : false);
}
-void rc_service_daemon_set (const char *service, const char *exec,
- const char *name, const char *pidfile,
- bool started)
+void __rc_service_daemon_set (const char *service, const char *exec,
+ const char *name, const char *pidfile,
+ bool started)
{
char *svc = rc_xstrdup (service);
char *dirpath = rc_strcatpaths (RC_SVCDIR, "daemons", basename (svc),
@@ -368,7 +368,7 @@ void rc_service_daemon_set (const char *service, const char *exec,
free (mpidfile);
free (dirpath);
}
-librc_hidden_def(rc_service_daemon_set)
+librc_hidden_def(__rc_service_daemon_set)
bool rc_service_started_daemon (const char *service, const char *exec,
int indx)