aboutsummaryrefslogtreecommitdiff
path: root/src/start-stop-daemon.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-07-31 16:05:56 +0000
committerRoy Marples <roy@marples.name>2007-07-31 16:05:56 +0000
commitc674026f9e5cf9538101ebc5c19d4da973731ad1 (patch)
tree76c3dd7c0647054d6fff55d5104d1f0977c85c94 /src/start-stop-daemon.c
parent02fcdeede4d2a14c10a8efcf8edc212b9a085708 (diff)
All our binaries are now mulicalls into rc, which makes our on disk size
a lot smaller.
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;