summaryrefslogtreecommitdiff
path: root/wcsmbs/tst-mbrtowc.c
diff options
context:
space:
mode:
Diffstat (limited to 'wcsmbs/tst-mbrtowc.c')
-rw-r--r--wcsmbs/tst-mbrtowc.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/wcsmbs/tst-mbrtowc.c b/wcsmbs/tst-mbrtowc.c
index 3e1eb728e8..a30b619395 100644
--- a/wcsmbs/tst-mbrtowc.c
+++ b/wcsmbs/tst-mbrtowc.c
@@ -151,8 +151,8 @@ utf8_test (void)
}
-int
-main (void)
+static int
+do_test (void)
{
int result = 0;
@@ -230,3 +230,6 @@ check_ascii (const char *locname)
return res != 0;
}
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"