aboutsummaryrefslogtreecommitdiff
path: root/tests/test-strerror.c
diff options
context:
space:
mode:
authorTommi Rantala <tt.rantala@gmail.com>2012-09-19 13:50:59 +0300
committerTommi Rantala <tt.rantala@gmail.com>2012-09-28 14:51:21 +0300
commit6b55e0ab51eee7dbea679fda2b37ecf61f0025e5 (patch)
tree60be8a74148b3681b5daedef9cac8a98ee1b04a7 /tests/test-strerror.c
parent5e7e890a0b75fc9b64838dd197f554c6c6285d88 (diff)
downloadlibunwind-6b55e0ab51eee7dbea679fda2b37ecf61f0025e5.tar.gz
Use `UNUSED' in tests
Diffstat (limited to 'tests/test-strerror.c')
-rw-r--r--tests/test-strerror.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test-strerror.c b/tests/test-strerror.c
index 44709524..f7ae61ed 100644
--- a/tests/test-strerror.c
+++ b/tests/test-strerror.c
@@ -1,8 +1,9 @@
+#include "compiler.h"
#include <libunwind.h>
#include <stdio.h>
int
-main (int argc, char **argv __attribute__((unused)))
+main (int argc, char **argv UNUSED)
{
int i, verbose = argc > 1;
const char *msg;