libc: make atoi, atol, and atoll pure functions
Change-Id: Ib831c079c865929b6c91d42f35e117f2e974808f
This commit is contained in:
parent
8df49ad246
commit
70f6901c3d
1 changed files with 3 additions and 3 deletions
|
@ -74,9 +74,9 @@ static __inline__ float strtof(const char *nptr, char **endptr)
|
|||
return (float)strtod(nptr, endptr);
|
||||
}
|
||||
|
||||
extern int atoi(const char *);
|
||||
extern long atol(const char *);
|
||||
extern long long atoll(const char *);
|
||||
extern int atoi(const char *) __purefunc;
|
||||
extern long atol(const char *) __purefunc;
|
||||
extern long long atoll(const char *) __purefunc;
|
||||
|
||||
static __inline__ double atof(const char *nptr)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue