diff options
author | Andrew Cagney <cagney@redhat.com> | 2001-03-20 01:37:10 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2001-03-20 01:37:10 +0000 |
commit | 211496566bf99ace06427acd2fccc3aa85d4d19c (patch) | |
tree | 49686c11f98c87c34da0f10b077e0275c0ec1a0c /gdb/utils.c | |
parent | 365f67c1fd2c8d32730c6715e0034372402e7e2e (diff) | |
download | gdb-211496566bf99ace06427acd2fccc3aa85d4d19c.tar.gz |
malloc() -> xmalloc.
Move malloc() decl to utils.c
Diffstat (limited to 'gdb/utils.c')
-rw-r--r-- | gdb/utils.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/utils.c b/gdb/utils.c index 6d164e45ae3..b1205d6861c 100644 --- a/gdb/utils.c +++ b/gdb/utils.c @@ -57,6 +57,9 @@ #include <readline/readline.h> #ifndef MALLOC_INCOMPATIBLE +#ifdef NEED_DECLARATION_MALLOC +extern PTR malloc (); +#endif #ifdef NEED_DECLARATION_REALLOC extern PTR realloc (); #endif |