Merge "Rename _Exit in a way that works with libandroid_support."

This commit is contained in:
Elliott Hughes 2017-09-19 18:34:52 +00:00 committed by Gerrit Code Review
commit 0d9301e156
2 changed files with 5 additions and 2 deletions

View File

@ -38,8 +38,6 @@
__BEGIN_DECLS
__noreturn void _Exit(int) __RENAME(_exit);
static __inline float strtof(const char* nptr, char** endptr) {
double d = strtod(nptr, endptr);
if (d > FLT_MAX) {

View File

@ -43,7 +43,12 @@ __BEGIN_DECLS
__noreturn void abort(void);
__noreturn void exit(int __status);
#if __ANDROID_API__ >= __ANDROID_API_L__
__noreturn void _Exit(int __status) __INTRODUCED_IN(21);
#else
__noreturn void _Exit(int) __RENAME(_exit);
#endif
int atexit(void (*__fn)(void));
int at_quick_exit(void (*__fn)(void)) __INTRODUCED_IN(21);