aboutsummaryrefslogtreecommitdiff
path: root/math/test-fpucw.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/test-fpucw.c')
-rw-r--r--math/test-fpucw.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/math/test-fpucw.c b/math/test-fpucw.c
index 21e6d2e..a333119 100644
--- a/math/test-fpucw.c
+++ b/math/test-fpucw.c
@@ -23,8 +23,8 @@
# define FPU_CONTROL _FPU_DEFAULT
#endif
-int
-main (void)
+static int
+do_test (void)
{
#ifdef _FPU_GETCW
/* Some architectures don't have _FPU_GETCW (e.g. Linux/Alpha). */
@@ -44,3 +44,6 @@ main (void)
return 0;
#endif
}
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"