diff options
Diffstat (limited to 'readline/ansi_stdlib.h')
-rw-r--r-- | readline/ansi_stdlib.h | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/readline/ansi_stdlib.h b/readline/ansi_stdlib.h index a720cb9..db13cd2 100644 --- a/readline/ansi_stdlib.h +++ b/readline/ansi_stdlib.h @@ -25,11 +25,24 @@ /* String conversion functions. */ extern int atoi (); -extern long int atol (); + +extern double atof (); +extern double strtod (); /* Memory allocation functions. */ -extern char *malloc (); -extern char *realloc (); +/* Generic pointer type. */ +#ifndef PTR_T + +#if defined (__STDC__) +# define PTR_T void * +#else +# define PTR_T char * +#endif + +#endif /* PTR_T */ + +extern PTR_T malloc (); +extern PTR_T realloc (); extern void free (); /* Other miscellaneous functions. */ |