summaryrefslogtreecommitdiff
path: root/include/stdlib.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/stdlib.h')
-rw-r--r--include/stdlib.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/stdlib.h b/include/stdlib.h
index e5588cb3b..17afbe9d3 100644
--- a/include/stdlib.h
+++ b/include/stdlib.h
@@ -42,10 +42,10 @@ typedef __compar_fn_t comparison_fn_t;
/* String to number conversion functions */
-#define atof(x) strtod((x),(char**)0)
-#define atoi(x) (int)strtol((x),(char**)0,10)
-#define atol(x) strtol((x),(char**)0,10)
-#define atoll(x) strtoll((x),(char**)0,10)
+extern double atof(const char *nptr);
+extern int atoi(const char *nptr);
+extern long atol(const char *nptr);
+extern long long atoll(const char *nptr);
extern long strtol __P ((const char * nptr, char ** endptr, int base));
extern unsigned long strtoul __P ((const char * nptr, char ** endptr, int base));
extern long long strtoll __P ((const char * nptr, char ** endptr, int base));