summaryrefslogtreecommitdiff
path: root/tests/test-init-remote.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-init-remote.c
parent5e7e890a0b75fc9b64838dd197f554c6c6285d88 (diff)
downloadlibunwind-6b55e0ab51eee7dbea679fda2b37ecf61f0025e5.tar.gz
Use `UNUSED' in tests
Diffstat (limited to 'tests/test-init-remote.c')
-rw-r--r--tests/test-init-remote.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/test-init-remote.c b/tests/test-init-remote.c
index 47d9548b..66f2d6a1 100644
--- a/tests/test-init-remote.c
+++ b/tests/test-init-remote.c
@@ -32,6 +32,8 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
# include "config.h"
#endif
+#include "compiler.h"
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -91,7 +93,7 @@ foo (void)
}
int
-main (int argc, char **argv __attribute__((unused)))
+main (int argc, char **argv UNUSED)
{
verbose = (argc > 1);