about summary refs log tree commit diff
path: root/math/test-tgmath.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/test-tgmath.c')
-rw-r--r--math/test-tgmath.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/math/test-tgmath.c b/math/test-tgmath.c
index ef5ac20b9a..b82413eb31 100644
--- a/math/test-tgmath.c
+++ b/math/test-tgmath.c
@@ -54,8 +54,8 @@ int count_cldouble;
 #define NCALLS_INT 4
 #define NCCALLS    47
 
-int
-main (void)
+static int
+do_test (void)
 {
   int result = 0;
 
@@ -210,6 +210,9 @@ main (void)
 #include "test-tgmath.c"
 #endif
 
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"
+
 #else
 
 #ifdef DEBUG