diff options
Diffstat (limited to 'sysklogd')
-rw-r--r-- | sysklogd/klogd.c | 2 | ||||
-rw-r--r-- | sysklogd/logread.c | 6 | ||||
-rw-r--r-- | sysklogd/syslogd.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/sysklogd/klogd.c b/sysklogd/klogd.c index e719001cf..c4bbf1558 100644 --- a/sysklogd/klogd.c +++ b/sysklogd/klogd.c | |||
@@ -39,7 +39,7 @@ enum { | |||
39 | }; | 39 | }; |
40 | 40 | ||
41 | int klogd_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; | 41 | int klogd_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; |
42 | int klogd_main(int argc ATTRIBUTE_UNUSED, char **argv) | 42 | int klogd_main(int argc UNUSED_PARAM, char **argv) |
43 | { | 43 | { |
44 | int i = 0; | 44 | int i = 0; |
45 | char *start; | 45 | char *start; |
diff --git a/sysklogd/logread.c b/sysklogd/logread.c index 1753ce324..603a3776c 100644 --- a/sysklogd/logread.c +++ b/sysklogd/logread.c | |||
@@ -43,7 +43,7 @@ struct globals { | |||
43 | memcpy(SMrup, init_sem, sizeof(init_sem)); \ | 43 | memcpy(SMrup, init_sem, sizeof(init_sem)); \ |
44 | } while (0) | 44 | } while (0) |
45 | 45 | ||
46 | static void error_exit(const char *str) ATTRIBUTE_NORETURN; | 46 | static void error_exit(const char *str) NORETURN; |
47 | static void error_exit(const char *str) | 47 | static void error_exit(const char *str) |
48 | { | 48 | { |
49 | //release all acquired resources | 49 | //release all acquired resources |
@@ -60,7 +60,7 @@ static void sem_up(int semid) | |||
60 | error_exit("semop[SMrup]"); | 60 | error_exit("semop[SMrup]"); |
61 | } | 61 | } |
62 | 62 | ||
63 | static void interrupted(int sig ATTRIBUTE_UNUSED) | 63 | static void interrupted(int sig UNUSED_PARAM) |
64 | { | 64 | { |
65 | signal(SIGINT, SIG_IGN); | 65 | signal(SIGINT, SIG_IGN); |
66 | shmdt(shbuf); | 66 | shmdt(shbuf); |
@@ -68,7 +68,7 @@ static void interrupted(int sig ATTRIBUTE_UNUSED) | |||
68 | } | 68 | } |
69 | 69 | ||
70 | int logread_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; | 70 | int logread_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; |
71 | int logread_main(int argc ATTRIBUTE_UNUSED, char **argv) | 71 | int logread_main(int argc UNUSED_PARAM, char **argv) |
72 | { | 72 | { |
73 | unsigned cur; | 73 | unsigned cur; |
74 | int log_semid; /* ipc semaphore id */ | 74 | int log_semid; /* ipc semaphore id */ |
diff --git a/sysklogd/syslogd.c b/sysklogd/syslogd.c index b9af9c55f..4c9efd8ba 100644 --- a/sysklogd/syslogd.c +++ b/sysklogd/syslogd.c | |||
@@ -541,7 +541,7 @@ static int try_to_resolve_remote(void) | |||
541 | } | 541 | } |
542 | #endif | 542 | #endif |
543 | 543 | ||
544 | static void do_syslogd(void) ATTRIBUTE_NORETURN; | 544 | static void do_syslogd(void) NORETURN; |
545 | static void do_syslogd(void) | 545 | static void do_syslogd(void) |
546 | { | 546 | { |
547 | int sock_fd; | 547 | int sock_fd; |
@@ -638,7 +638,7 @@ static void do_syslogd(void) | |||
638 | } | 638 | } |
639 | 639 | ||
640 | int syslogd_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; | 640 | int syslogd_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; |
641 | int syslogd_main(int argc ATTRIBUTE_UNUSED, char **argv) | 641 | int syslogd_main(int argc UNUSED_PARAM, char **argv) |
642 | { | 642 | { |
643 | char OPTION_DECL; | 643 | char OPTION_DECL; |
644 | 644 | ||