summaryrefslogtreecommitdiff
path: root/sysdeps/x86_64/tst-audit6.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/x86_64/tst-audit6.c')
-rw-r--r--sysdeps/x86_64/tst-audit6.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/sysdeps/x86_64/tst-audit6.c b/sysdeps/x86_64/tst-audit6.c
index 64209a152e..f2f6a487c4 100644
--- a/sysdeps/x86_64/tst-audit6.c
+++ b/sysdeps/x86_64/tst-audit6.c
@@ -25,8 +25,8 @@ avx_enabled (void)
}
-int
-main (void)
+static int
+do_test (void)
{
/* Run AVX test only if AVX is supported. */
if (avx_enabled ())
@@ -40,3 +40,6 @@ main (void)
}
return 0;
}
+
+#define TEST_FUNCTION do_test ()
+#include "../../test-skeleton.c"