aboutsummaryrefslogtreecommitdiff
path: root/src/math/modf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/modf.c')
-rw-r--r--src/math/modf.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/math/modf.c b/src/math/modf.c
index 1c8a1db9..6cb8185a 100644
--- a/src/math/modf.c
+++ b/src/math/modf.c
@@ -32,3 +32,11 @@ double modf(double x, double *iptr)
*iptr = u.f;
return x - u.f;
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif