aboutsummaryrefslogtreecommitdiff
path: root/elf/tst-linkall-static.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/tst-linkall-static.c')
-rw-r--r--elf/tst-linkall-static.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/elf/tst-linkall-static.c b/elf/tst-linkall-static.c
index 964cd7a202..8f40657244 100644
--- a/elf/tst-linkall-static.c
+++ b/elf/tst-linkall-static.c
@@ -42,6 +42,11 @@ void *references[] =
&getaddrinfo_a, /* libanl */
};
-/* This is a link-time test. There is nothing to run here. */
-#define TEST_FUNCTION 0
-#include "../test-skeleton.c"
+static int
+do_test (void)
+{
+ /* This is a link-time test. There is nothing to run here. */
+ return 0;
+}
+
+#include <support/test-driver.c>