aboutsummaryrefslogtreecommitdiff
path: root/src/stdlib/atof.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdlib/atof.c')
-rw-r--r--src/stdlib/atof.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/stdlib/atof.c b/src/stdlib/atof.c
index f7fcd826..dd33faf4 100644
--- a/src/stdlib/atof.c
+++ b/src/stdlib/atof.c
@@ -4,3 +4,11 @@ double atof(const char *s)
{
return strtod(s, 0);
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif