aboutsummaryrefslogtreecommitdiff
path: root/src/start-stop-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/start-stop-daemon.c
parent379b66936cb2366ce46d5d6a351bd89db6906812 (diff)
__rc_service_daemon_set is now a private function
Diffstat (limited to 'src/start-stop-daemon.c')
-rw-r--r--src/start-stop-daemon.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/start-stop-daemon.c b/src/start-stop-daemon.c
index 8fdcaa33..f37351f3 100644
--- a/src/start-stop-daemon.c
+++ b/src/start-stop-daemon.c
@@ -46,6 +46,7 @@ static struct pam_conv conv = { NULL, NULL} ;
#include "builtins.h"
#include "einfo.h"
+#include "librc-daemon.h"
#include "rc.h"
#include "rc-misc.h"
#include "strlist.h"
@@ -758,7 +759,7 @@ int start_stop_daemon (int argc, char **argv)
unlink (pidfile);
if (svcname)
- rc_service_daemon_set (svcname, exec, cmd, pidfile, false);
+ __rc_service_daemon_set (svcname, exec, cmd, pidfile, false);
exit (EXIT_SUCCESS);
}
@@ -1032,7 +1033,7 @@ int start_stop_daemon (int argc, char **argv)
}
if (svcname)
- rc_service_daemon_set (svcname, exec, cmd, pidfile, true);
+ __rc_service_daemon_set (svcname, exec, cmd, pidfile, true);
exit (EXIT_SUCCESS);
}