summaryrefslogtreecommitdiff
path: root/runit/runsvdir.c
diff options
context:
space:
mode:
Diffstat (limited to 'runit/runsvdir.c')
-rw-r--r--runit/runsvdir.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/runit/runsvdir.c b/runit/runsvdir.c
index 0ab672e..bca5c90 100644
--- a/runit/runsvdir.c
+++ b/runit/runsvdir.c
@@ -72,11 +72,11 @@ static void warnx(const char *m1)
warn3x(m1, "", "");
}
-static void s_term(int sig_no)
+static void s_term(int sig_no ATTRIBUTE_UNUSED)
{
exitsoon = 1;
}
-static void s_hangup(int sig_no)
+static void s_hangup(int sig_no ATTRIBUTE_UNUSED)
{
exitsoon = 2;
}
@@ -207,7 +207,7 @@ static int setup_log(void)
}
int runsvdir_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
-int runsvdir_main(int argc, char **argv)
+int runsvdir_main(int argc ATTRIBUTE_UNUSED, char **argv)
{
struct stat s;
dev_t last_dev = last_dev; /* for gcc */