From daf868394fb65a6501472a99f0ec9e03a891558f Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Thu, 4 Oct 2007 13:51:57 +0000 Subject: __rc_service_daemon_set is now a private function --- src/start-stop-daemon.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/start-stop-daemon.c') 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); } -- cgit v1.2.3