summaryrefslogtreecommitdiff
path: root/runit/svlogd.c
diff options
context:
space:
mode:
Diffstat (limited to 'runit/svlogd.c')
-rw-r--r--runit/svlogd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/runit/svlogd.c b/runit/svlogd.c
index c69cb545c..4458bd787 100644
--- a/runit/svlogd.c
+++ b/runit/svlogd.c
@@ -783,14 +783,14 @@ static int buffer_pread(/*int fd, */char *s, unsigned len)
783 return i; 783 return i;
784} 784}
785 785
786static void sig_term_handler(int sig_no) 786static void sig_term_handler(int sig_no ATTRIBUTE_UNUSED)
787{ 787{
788 if (verbose) 788 if (verbose)
789 bb_error_msg(INFO"sig%s received", "term"); 789 bb_error_msg(INFO"sig%s received", "term");
790 exitasap = 1; 790 exitasap = 1;
791} 791}
792 792
793static void sig_child_handler(int sig_no) 793static void sig_child_handler(int sig_no ATTRIBUTE_UNUSED)
794{ 794{
795 int pid, l; 795 int pid, l;
796 796
@@ -807,14 +807,14 @@ static void sig_child_handler(int sig_no)
807 } 807 }
808} 808}
809 809
810static void sig_alarm_handler(int sig_no) 810static void sig_alarm_handler(int sig_no ATTRIBUTE_UNUSED)
811{ 811{
812 if (verbose) 812 if (verbose)
813 bb_error_msg(INFO"sig%s received", "alarm"); 813 bb_error_msg(INFO"sig%s received", "alarm");
814 rotateasap = 1; 814 rotateasap = 1;
815} 815}
816 816
817static void sig_hangup_handler(int sig_no) 817static void sig_hangup_handler(int sig_no ATTRIBUTE_UNUSED)
818{ 818{
819 if (verbose) 819 if (verbose)
820 bb_error_msg(INFO"sig%s received", "hangup"); 820 bb_error_msg(INFO"sig%s received", "hangup");