diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-07-05 09:18:54 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-07-05 09:18:54 +0000 |
commit | a60f84ebf07863e390b72a2b6150e461a1ec18e9 (patch) | |
tree | f59bc665cfe3d2d32622450d80523e3c1265e501 /runit/svlogd.c | |
parent | f6efccc0659a2e2978f2021153f34ce92257ad2b (diff) | |
download | busybox-w32-a60f84ebf07863e390b72a2b6150e461a1ec18e9.tar.gz busybox-w32-a60f84ebf07863e390b72a2b6150e461a1ec18e9.tar.bz2 busybox-w32-a60f84ebf07863e390b72a2b6150e461a1ec18e9.zip |
*: rename ATTRIBUTE_XXX to just XXX.
Diffstat (limited to 'runit/svlogd.c')
-rw-r--r-- | runit/svlogd.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/runit/svlogd.c b/runit/svlogd.c index bfb97166f..66b96b8de 100644 --- a/runit/svlogd.c +++ b/runit/svlogd.c | |||
@@ -788,14 +788,14 @@ static int buffer_pread(/*int fd, */char *s, unsigned len) | |||
788 | return i; | 788 | return i; |
789 | } | 789 | } |
790 | 790 | ||
791 | static void sig_term_handler(int sig_no ATTRIBUTE_UNUSED) | 791 | static void sig_term_handler(int sig_no UNUSED_PARAM) |
792 | { | 792 | { |
793 | if (verbose) | 793 | if (verbose) |
794 | bb_error_msg(INFO"sig%s received", "term"); | 794 | bb_error_msg(INFO"sig%s received", "term"); |
795 | exitasap = 1; | 795 | exitasap = 1; |
796 | } | 796 | } |
797 | 797 | ||
798 | static void sig_child_handler(int sig_no ATTRIBUTE_UNUSED) | 798 | static void sig_child_handler(int sig_no UNUSED_PARAM) |
799 | { | 799 | { |
800 | int pid, l; | 800 | int pid, l; |
801 | 801 | ||
@@ -812,14 +812,14 @@ static void sig_child_handler(int sig_no ATTRIBUTE_UNUSED) | |||
812 | } | 812 | } |
813 | } | 813 | } |
814 | 814 | ||
815 | static void sig_alarm_handler(int sig_no ATTRIBUTE_UNUSED) | 815 | static void sig_alarm_handler(int sig_no UNUSED_PARAM) |
816 | { | 816 | { |
817 | if (verbose) | 817 | if (verbose) |
818 | bb_error_msg(INFO"sig%s received", "alarm"); | 818 | bb_error_msg(INFO"sig%s received", "alarm"); |
819 | rotateasap = 1; | 819 | rotateasap = 1; |
820 | } | 820 | } |
821 | 821 | ||
822 | static void sig_hangup_handler(int sig_no ATTRIBUTE_UNUSED) | 822 | static void sig_hangup_handler(int sig_no UNUSED_PARAM) |
823 | { | 823 | { |
824 | if (verbose) | 824 | if (verbose) |
825 | bb_error_msg(INFO"sig%s received", "hangup"); | 825 | bb_error_msg(INFO"sig%s received", "hangup"); |