summaryrefslogtreecommitdiff
path: root/stdlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib.c')
-rw-r--r--stdlib.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/stdlib.c b/stdlib.c
new file mode 100644
index 0000000..b81eb91
--- /dev/null
+++ b/stdlib.c
@@ -0,0 +1,8 @@
+#include <assert.h> // assert
+#include <stdlib.h> // strtod
+
+double __strtod_internal(const char *__nptr, char **__endptr, int __group)
+{
+ assert(__group == 0);
+ return strtod(__nptr, __endptr);
+}