commit | f45bc14d5497c30bd43e22d025e3b88812b2baa4 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Sat Jul 01 15:48:58 2017 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Sat Jul 01 15:48:58 2017 +0000 |
tree | 06dffdb7fb9583075664c19875bf497f086dbfe7 | |
parent | d09f3b67a38d9431e0d248609b427297a0f6e3f7 [diff] | |
parent | 79dd9889d1701dda881bb383b212932fcf2ff25f [diff] |
Merge "Work around missing _Exit in old API levels."
diff --git a/libc/include/android/legacy_stdlib_inlines.h b/libc/include/android/legacy_stdlib_inlines.h index e211de5..82186c7 100644 --- a/libc/include/android/legacy_stdlib_inlines.h +++ b/libc/include/android/legacy_stdlib_inlines.h
@@ -36,6 +36,8 @@ __BEGIN_DECLS +__noreturn void _Exit(int) __RENAME(_exit); + static __inline float strtof(const char *nptr, char **endptr) { return (float)strtod(nptr, endptr); }