Use __attribute__ instead of ARG_UNUSED
Showing
1 changed file
with
5 additions
and
1 deletions
... | @@ -92,8 +92,12 @@ | ... | @@ -92,8 +92,12 @@ |
92 | 92 | ||
93 | #define MAXFD 64 | 93 | #define MAXFD 64 |
94 | 94 | ||
95 | #if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 7) | ||
96 | # define __attribute__(x) | ||
97 | #endif | ||
98 | |||
95 | void | 99 | void |
96 | waitdaemon_timeout (int signo ARG_UNUSED) | 100 | waitdaemon_timeout (int signo __attribute__ ((__unused__))) |
97 | { | 101 | { |
98 | int left; | 102 | int left; |
99 | 103 | ... | ... |
-
Please register or sign in to post a comment