about summary refs log tree commit diff
path: root/wcsmbs/tst-wcrtomb.c
diff options
context:
space:
mode:
Diffstat (limited to 'wcsmbs/tst-wcrtomb.c')
-rw-r--r--wcsmbs/tst-wcrtomb.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/wcsmbs/tst-wcrtomb.c b/wcsmbs/tst-wcrtomb.c
index 3f052f3b2d..cad343effd 100644
--- a/wcsmbs/tst-wcrtomb.c
+++ b/wcsmbs/tst-wcrtomb.c
@@ -26,8 +26,8 @@
 static int check_ascii (const char *locname);
 
 
-int
-main (void)
+static int
+do_test (void)
 {
   int result = 0;
 
@@ -92,3 +92,6 @@ check_ascii (const char *locname)
 
   return res != 0;
 }
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"