summary refs log tree commit diff
path: root/misc/tst-efgcvt.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/tst-efgcvt.c')
-rw-r--r--misc/tst-efgcvt.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/misc/tst-efgcvt.c b/misc/tst-efgcvt.c
index 303042d36e..11427a0252 100644
--- a/misc/tst-efgcvt.c
+++ b/misc/tst-efgcvt.c
@@ -200,8 +200,8 @@ special (void)
 }
 
 
-int
-main (void)
+static int
+do_test (void)
 {
   test (ecvt_tests, ecvt, "ecvt");
   test (fcvt_tests, fcvt, "fcvt");
@@ -211,3 +211,6 @@ main (void)
 
   return error_count;
 }
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"