diff options
Diffstat (limited to 'tests/Gtest-dyn1.c')
-rw-r--r-- | tests/Gtest-dyn1.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/Gtest-dyn1.c b/tests/Gtest-dyn1.c index 96eb7067..bc7dc9cf 100644 --- a/tests/Gtest-dyn1.c +++ b/tests/Gtest-dyn1.c @@ -27,6 +27,8 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ #include "flush-cache.h" +#include "compiler.h" + #include <libunwind.h> #include <stdio.h> #include <stdlib.h> @@ -157,13 +159,13 @@ sighandler (int signal) } int -dev_null (const char *format __attribute__((unused)), ...) +dev_null (const char *format UNUSED, ...) { return 0; } int -main (int argc, char *argv[] __attribute__((unused))) +main (int argc, char *argv[] UNUSED) { unw_dyn_region_info_t *region; unw_dyn_info_t di; |