aboutsummaryrefslogtreecommitdiff
path: root/src/start-stop-daemon.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/start-stop-daemon.c')
-rw-r--r--src/start-stop-daemon.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/start-stop-daemon.c b/src/start-stop-daemon.c
index 5d56ba4d..05325dfb 100644
--- a/src/start-stop-daemon.c
+++ b/src/start-stop-daemon.c
@@ -40,6 +40,7 @@
static struct pam_conv conv = { NULL, NULL} ;
#endif
+#include "builtins.h"
#include "einfo.h"
#include "rc.h"
#include "rc-misc.h"
@@ -475,7 +476,7 @@ static void handle_signal (int sig)
errno = serrno;
}
-int main (int argc, char **argv)
+int start_stop_daemon (int argc, char **argv)
{
int devnull_fd = -1;