aboutsummaryrefslogtreecommitdiff
path: root/sysklogd
diff options
context:
space:
mode:
Diffstat (limited to 'sysklogd')
-rw-r--r--sysklogd/klogd.c2
-rw-r--r--sysklogd/logread.c2
-rw-r--r--sysklogd/syslogd.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/sysklogd/klogd.c b/sysklogd/klogd.c
index 01d597178..983a59784 100644
--- a/sysklogd/klogd.c
+++ b/sysklogd/klogd.c
@@ -37,7 +37,7 @@ enum {
};
int klogd_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
-int klogd_main(int argc, char **argv)
+int klogd_main(int argc ATTRIBUTE_UNUSED, char **argv)
{
int i = i; /* silence gcc */
char *start;
diff --git a/sysklogd/logread.c b/sysklogd/logread.c
index 62846463c..6f4429fd9 100644
--- a/sysklogd/logread.c
+++ b/sysklogd/logread.c
@@ -68,7 +68,7 @@ static void interrupted(int sig ATTRIBUTE_UNUSED)
}
int logread_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
-int logread_main(int argc, char **argv)
+int logread_main(int argc ATTRIBUTE_UNUSED, char **argv)
{
int cur;
int log_semid; /* ipc semaphore id */
diff --git a/sysklogd/syslogd.c b/sysklogd/syslogd.c
index 596984e3f..371b5588f 100644
--- a/sysklogd/syslogd.c
+++ b/sysklogd/syslogd.c
@@ -633,7 +633,7 @@ static void do_syslogd(void)
}
int syslogd_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
-int syslogd_main(int argc, char **argv)
+int syslogd_main(int argc ATTRIBUTE_UNUSED, char **argv)
{
char OPTION_DECL;