summaryrefslogtreecommitdiffstats
path: root/9/platforms/android-4/arch-arm/usr/include/stdlib.h
diff options
context:
space:
mode:
authorAndrew Hsieh <andrewhsieh@google.com>2013-11-11 15:54:42 +0800
committerAndrew Hsieh <andrewhsieh@google.com>2013-11-11 15:58:28 +0800
commite02e042b38d282df98814709a68d40cbcf614216 (patch)
tree7b4397b72d0afef5d4030209383f2723da918389 /9/platforms/android-4/arch-arm/usr/include/stdlib.h
parent80382fb8411116a733a37ba4f9cc4659427e6894 (diff)
downloadprebuilts_ndk-e02e042b38d282df98814709a68d40cbcf614216.zip
prebuilts_ndk-e02e042b38d282df98814709a68d40cbcf614216.tar.gz
prebuilts_ndk-e02e042b38d282df98814709a68d40cbcf614216.tar.bz2
Refresh prebuilts/ndk/9/platforms with r9b+, part 1/2
Part 1: modify the existing API level Change-Id: Ib14a58f8c1d52d7e5ec95a2f3d64077046c6c0fe
Diffstat (limited to '9/platforms/android-4/arch-arm/usr/include/stdlib.h')
-rw-r--r--9/platforms/android-4/arch-arm/usr/include/stdlib.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/9/platforms/android-4/arch-arm/usr/include/stdlib.h b/9/platforms/android-4/arch-arm/usr/include/stdlib.h
index 424adb4..bb5b3b8 100644
--- a/9/platforms/android-4/arch-arm/usr/include/stdlib.h
+++ b/9/platforms/android-4/arch-arm/usr/include/stdlib.h
@@ -56,6 +56,7 @@ extern int putenv(const char *);
extern int setenv(const char *, const char *, int);
extern int unsetenv(const char *);
+extern char *mkdtemp(char *);
extern char *mktemp (char *);
extern int mkstemp (char *);
@@ -63,8 +64,9 @@ extern long strtol(const char *, char **, int);
extern long long strtoll(const char *, char **, int);
extern unsigned long strtoul(const char *, char **, int);
extern unsigned long long strtoull(const char *, char **, int);
-extern double strtod(const char *nptr, char **endptr);
+extern double strtod(const char *nptr, char **endptr) __NDK_FPABI__;
+__NDK_FPABI__
static __inline__ float strtof(const char *nptr, char **endptr)
{
return (float)strtod(nptr, endptr);
@@ -74,6 +76,7 @@ extern int atoi(const char *);
extern long atol(const char *);
extern long long atoll(const char *);
+ __NDK_FPABI__
static __inline__ double atof(const char *nptr)
{
return (strtod(nptr, NULL));
@@ -105,8 +108,8 @@ extern long mrand48(void);
extern long nrand48(unsigned short *);
extern long lrand48(void);
extern unsigned short *seed48(unsigned short*);
-extern double erand48(unsigned short xsubi[3]);
-extern double drand48(void);
+extern double erand48(unsigned short xsubi[3]) __NDK_FPABI__;
+extern double drand48(void) __NDK_FPABI__;
extern void srand48(long);
extern unsigned int arc4random(void);
extern void arc4random_stir(void);