about summary refs log tree commit diff
path: root/math/test-matherr.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/test-matherr.c')
-rw-r--r--math/test-matherr.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/math/test-matherr.c b/math/test-matherr.c
index cd09a3981c..6983879da4 100644
--- a/math/test-matherr.c
+++ b/math/test-matherr.c
@@ -12,10 +12,13 @@ matherr (struct exception *s)
   return 1;
 }
 
-int
-main (void)
+static int
+do_test (void)
 {
   _LIB_VERSION = _SVID_;
   acos (2.0);
   return fail;
 }
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"