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 | 3c37485b16d873d9fd8d5d448dce60a2d890e286 (patch) | |
tree | 01b974afe0c43b13dc0a0efda5ce8f0cf4b1a6a4 /gdb/utils.c | |
parent | 0e52036f1f47078a9863f6a377ff11e10a81e8c4 (diff) | |
download | gdb-3c37485b16d873d9fd8d5d448dce60a2d890e286.zip gdb-3c37485b16d873d9fd8d5d448dce60a2d890e286.tar.gz gdb-3c37485b16d873d9fd8d5d448dce60a2d890e286.tar.bz2 |
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 6d164e4..b1205d6 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 |