summaryrefslogtreecommitdiff
path: root/localedata/tst-ctype.c
diff options
context:
space:
mode:
Diffstat (limited to 'localedata/tst-ctype.c')
-rw-r--r--localedata/tst-ctype.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/localedata/tst-ctype.c b/localedata/tst-ctype.c
index ceda891145..a4e8fcf4dc 100644
--- a/localedata/tst-ctype.c
+++ b/localedata/tst-ctype.c
@@ -61,8 +61,8 @@ static struct classes
}
-int
-main (void)
+static int
+do_test (void)
{
const char *cp;
const char *cp2;
@@ -447,3 +447,6 @@ punct = %04x alnum = %04x\n",
printf (" No errors for `%s' locale\n\n\n", setlocale (LC_ALL, NULL));
return 0;
}
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"