aboutsummaryrefslogtreecommitdiff
path: root/elf/tst-pathopt.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/tst-pathopt.c')
-rw-r--r--elf/tst-pathopt.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/elf/tst-pathopt.c b/elf/tst-pathopt.c
index 1f7aac2a41..8d73ad4def 100644
--- a/elf/tst-pathopt.c
+++ b/elf/tst-pathopt.c
@@ -4,8 +4,8 @@
#include <stdlib.h>
-int
-main (void)
+static int
+do_test (void)
{
void *h;
int (*fp) (int);
@@ -37,3 +37,6 @@ main (void)
return result;
}
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"