summaryrefslogtreecommitdiff
path: root/tests/test-async-sig.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-async-sig.c')
-rw-r--r--tests/test-async-sig.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/test-async-sig.c b/tests/test-async-sig.c
index 9a0d39e6..2ce8b4bb 100644
--- a/tests/test-async-sig.c
+++ b/tests/test-async-sig.c
@@ -27,6 +27,8 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#include "config.h"
#endif
+#include "compiler.h"
+
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
@@ -159,7 +161,7 @@ sighandler (int signal)
}
int
-main (int argc, char **argv __attribute__((unused)))
+main (int argc, char **argv UNUSED)
{
struct sigaction act;
long i = 0;