libc: make atoi, atol, and atoll pure functions

Change-Id: Ib831c079c865929b6c91d42f35e117f2e974808f
This commit is contained in:
Nick Kralevich 2012-06-14 13:48:18 -07:00
parent 8df49ad246
commit 70f6901c3d

View file

@ -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)
{