about summary refs log tree commit diff
path: root/intl/tst-codeset.c
diff options
context:
space:
mode:
Diffstat (limited to 'intl/tst-codeset.c')
-rw-r--r--intl/tst-codeset.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/intl/tst-codeset.c b/intl/tst-codeset.c
index f5b37ec136..37f731ec4e 100644
--- a/intl/tst-codeset.c
+++ b/intl/tst-codeset.c
@@ -23,8 +23,8 @@
 #include <stdlib.h>
 #include <string.h>
 
-int
-main (void)
+static int
+do_test (void)
 {
   char *s;
   int result = 0;
@@ -55,3 +55,6 @@ main (void)
 
   return result;
 }
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"