about summary refs log tree commit diff
path: root/math/atest-exp2.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/atest-exp2.c')
-rw-r--r--math/atest-exp2.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/math/atest-exp2.c b/math/atest-exp2.c
index 3442715366..945bb7accf 100644
--- a/math/atest-exp2.c
+++ b/math/atest-exp2.c
@@ -144,8 +144,8 @@ mpn_bitsize(const mp_limb_t *SRC_PTR, mp_size_t SIZE)
   return i * mpbpl + j;
 }
 
-int
-main (void)
+static int
+do_test (void)
 {
   mp1 ex, x, xt, e2, e3;
   int i;
@@ -227,3 +227,6 @@ main (void)
 
   return failures == 0 ? 0 : 1;
 }
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"