diff options
Diffstat (limited to 'sysklogd/logread.c')
-rw-r--r-- | sysklogd/logread.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 */ |