You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by cc...@apache.org on 2016/02/03 03:20:05 UTC

[4/5] incubator-mynewt-larva git commit: Add atof and strtod prototypes to baselibc stdlib.h

Add atof and strtod prototypes to baselibc stdlib.h


Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-larva/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-larva/commit/3cfcc2d2
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-larva/tree/3cfcc2d2
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-larva/diff/3cfcc2d2

Branch: refs/heads/master
Commit: 3cfcc2d2c5fa817cacec52607fa3a86220f1805a
Parents: 031810b
Author: Christopher Collins <cc...@gmail.com>
Authored: Tue Feb 2 17:37:11 2016 -0800
Committer: Christopher Collins <cc...@gmail.com>
Committed: Tue Feb 2 18:18:08 2016 -0800

----------------------------------------------------------------------
 libs/baselibc/include/stdlib.h | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-larva/blob/3cfcc2d2/libs/baselibc/include/stdlib.h
----------------------------------------------------------------------
diff --git a/libs/baselibc/include/stdlib.h b/libs/baselibc/include/stdlib.h
index 41a3dcf..847cda7 100644
--- a/libs/baselibc/include/stdlib.h
+++ b/libs/baselibc/include/stdlib.h
@@ -19,6 +19,9 @@ __extern int atoi(const char *);
 __extern long atol(const char *);
 __extern long long atoll(const char *);
 
+__extern double atof(const char *str);
+__extern double strtod(const char *nptr, char **endptr);
+
 __extern_inline long labs(long __n)
 {
 	return (__n < 0L) ? -__n : __n;