aboutsummaryrefslogtreecommitdiff
path: root/string/tst-strxfrm.c
diff options
context:
space:
mode:
Diffstat (limited to 'string/tst-strxfrm.c')
-rw-r--r--string/tst-strxfrm.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/string/tst-strxfrm.c b/string/tst-strxfrm.c
index 2ae2e29..f48cfc0 100644
--- a/string/tst-strxfrm.c
+++ b/string/tst-strxfrm.c
@@ -58,8 +58,8 @@ test (const char *locale)
}
-int
-main (void)
+static int
+do_test (void)
{
int result = 0;
@@ -69,3 +69,6 @@ main (void)
return result;
}
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"