about summary refs log tree commit diff
path: root/localedata/tst-trans.c
diff options
context:
space:
mode:
Diffstat (limited to 'localedata/tst-trans.c')
-rw-r--r--localedata/tst-trans.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/localedata/tst-trans.c b/localedata/tst-trans.c
index 5e09631384..0b0be83c78 100644
--- a/localedata/tst-trans.c
+++ b/localedata/tst-trans.c
@@ -24,8 +24,8 @@
 #include <wchar.h>
 #include <wctype.h>
 
-int
-main (void)
+static int
+do_test (void)
 {
   char buf[30];
   wchar_t wbuf[30];
@@ -68,3 +68,6 @@ main (void)
 
   return errors;
 }
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"