diff options
author | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2002-08-23 22:02:32 +0000 |
---|---|---|
committer | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2002-08-23 22:02:32 +0000 |
commit | 84041b4c47edb0461f3b82afb77ca2d81819ebfa (patch) | |
tree | ddbca1e6f70f9c4a4b6c3c923b16603a95946b22 /readline/ansi_stdlib.h | |
parent | f9267e152c9c4e2b150366c590674180e66d45df (diff) | |
download | gdb-84041b4c47edb0461f3b82afb77ca2d81819ebfa.zip gdb-84041b4c47edb0461f3b82afb77ca2d81819ebfa.tar.gz gdb-84041b4c47edb0461f3b82afb77ca2d81819ebfa.tar.bz2 |
import of readline-4.3
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. */ |