aboutsummaryrefslogtreecommitdiff
path: root/stdlib/tst-xpg-basename.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/tst-xpg-basename.c')
-rw-r--r--stdlib/tst-xpg-basename.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/stdlib/tst-xpg-basename.c b/stdlib/tst-xpg-basename.c
index 61e2e4b..facc783 100644
--- a/stdlib/tst-xpg-basename.c
+++ b/stdlib/tst-xpg-basename.c
@@ -37,8 +37,8 @@ static struct
};
-int
-main (void)
+static int
+do_test (void)
{
size_t i = 0;
int errors = 0;
@@ -64,3 +64,6 @@ main (void)
return errors;
}
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"