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 /sysklogd/logread.c | |
parent | f6efccc0659a2e2978f2021153f34ce92257ad2b (diff) |
*: rename ATTRIBUTE_XXX to just XXX.
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 { memcpy(SMrup, init_sem, sizeof(init_sem)); \ } while (0) -static void error_exit(const char *str) ATTRIBUTE_NORETURN; +static void error_exit(const char *str) NORETURN; static void error_exit(const char *str) { //release all acquired resources @@ -60,7 +60,7 @@ static void sem_up(int semid) error_exit("semop[SMrup]"); } -static void interrupted(int sig ATTRIBUTE_UNUSED) +static void interrupted(int sig UNUSED_PARAM) { signal(SIGINT, SIG_IGN); shmdt(shbuf); @@ -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 ATTRIBUTE_UNUSED, char **argv) +int logread_main(int argc UNUSED_PARAM, char **argv) { unsigned cur; int log_semid; /* ipc semaphore id */ |