Use `UNUSED' in tests
diff --git a/tests/Gtest-bt.c b/tests/Gtest-bt.c
index 4a07c6f..802dd08 100644
--- a/tests/Gtest-bt.c
+++ b/tests/Gtest-bt.c
@@ -127,7 +127,7 @@
}
void
-foo (long val __attribute__((unused)))
+foo (long val UNUSED)
{
do_backtrace ();
}
@@ -164,7 +164,7 @@
}
void
-sighandler (int signal, void *siginfo __attribute__((unused)), void *context)
+sighandler (int signal, void *siginfo UNUSED, void *context)
{
ucontext_t *uc UNUSED;
int sp;
@@ -206,7 +206,7 @@
}
int
-main (int argc, char **argv __attribute__((unused)))
+main (int argc, char **argv UNUSED)
{
struct sigaction act;
stack_t stk;