about summary refs log tree commit diff
path: root/iconvdata/tst-loading.c
diff options
context:
space:
mode:
Diffstat (limited to 'iconvdata/tst-loading.c')
-rw-r--r--iconvdata/tst-loading.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/iconvdata/tst-loading.c b/iconvdata/tst-loading.c
index 0d8a9590d5..eff9d784eb 100644
--- a/iconvdata/tst-loading.c
+++ b/iconvdata/tst-loading.c
@@ -114,8 +114,8 @@ static const char inbuf[] =
 "     function.  Later modifications of the variable have no effect.\n";
 
 
-int
-main (void)
+static int
+do_test (void)
 {
   size_t count = TEST_ROUNDS;
   int result = 0;
@@ -180,3 +180,6 @@ main (void)
 
   return result;
 }
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"