aboutsummaryrefslogtreecommitdiff
path: root/runit
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-02-03 17:28:39 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-02-03 17:28:39 +0000
commit06af2165288cd6516b89001ec9e24992619230e0 (patch)
tree840d22e507465aa6eb27c30c7ab8e80d9c469ae0 /runit
parentc7ba8b9d6c926231c1c191136b1ea0bc14b87771 (diff)
downloadbusybox-06af2165288cd6516b89001ec9e24992619230e0.tar.gz
suppress warnings about easch <applet>_main() having
no preceding prototype
Diffstat (limited to 'runit')
-rw-r--r--runit/chpst.c1
-rw-r--r--runit/runsv.c1
-rw-r--r--runit/runsvdir.c1
-rw-r--r--runit/sv.c1
-rw-r--r--runit/svlogd.c1
5 files changed, 5 insertions, 0 deletions
diff --git a/runit/chpst.c b/runit/chpst.c
index 4662a4a83..053051d1d 100644
--- a/runit/chpst.c
+++ b/runit/chpst.c
@@ -255,6 +255,7 @@ static void envuidgid(int, char **);
static void envdir(int, char **);
static void softlimit(int, char **);
+int chpst_main(int argc, char **argv);
int chpst_main(int argc, char **argv)
{
if (applet_name[3] == 'd') envdir(argc, argv);
diff --git a/runit/runsv.c b/runit/runsv.c
index 03187a8b7..246c50285 100644
--- a/runit/runsv.c
+++ b/runit/runsv.c
@@ -390,6 +390,7 @@ static int ctrl(struct svdir *s, char c)
return 1;
}
+int runsv_main(int argc, char **argv);
int runsv_main(int argc, char **argv)
{
struct stat s;
diff --git a/runit/runsvdir.c b/runit/runsvdir.c
index 7e1dd6c30..d9053ad6a 100644
--- a/runit/runsvdir.c
+++ b/runit/runsvdir.c
@@ -174,6 +174,7 @@ static int setup_log(void)
return 1;
}
+int runsvdir_main(int argc, char **argv);
int runsvdir_main(int argc, char **argv)
{
struct stat s;
diff --git a/runit/sv.c b/runit/sv.c
index 2af9f6604..7635330e4 100644
--- a/runit/sv.c
+++ b/runit/sv.c
@@ -251,6 +251,7 @@ static int control(const char *a)
return 1;
}
+int sv_main(int argc, char **argv);
int sv_main(int argc, char **argv)
{
unsigned opt;
diff --git a/runit/svlogd.c b/runit/svlogd.c
index 0f17eec7b..e454bace8 100644
--- a/runit/svlogd.c
+++ b/runit/svlogd.c
@@ -746,6 +746,7 @@ static void logmatch(struct logdir *ld)
}
}
+int svlogd_main(int argc, char **argv);
int svlogd_main(int argc, char **argv)
{
sigset_t ss;