aboutsummaryrefslogtreecommitdiff
path: root/gdb/utils.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-03-20 00:54:43 +0000
committerAndrew Cagney <cagney@redhat.com>2001-03-20 00:54:43 +0000
commit0e52036f1f47078a9863f6a377ff11e10a81e8c4 (patch)
tree843cc4d980261981f8a7053bd2d3a9c87c085ac6 /gdb/utils.c
parent81b8eb809e1fd6ad16bbeda4a365b8e7a81a441c (diff)
downloadgdb-0e52036f1f47078a9863f6a377ff11e10a81e8c4.zip
gdb-0e52036f1f47078a9863f6a377ff11e10a81e8c4.tar.gz
gdb-0e52036f1f47078a9863f6a377ff11e10a81e8c4.tar.bz2
Move realoc() decl to utils.c. s/realloc()/xrealloc()/.
Diffstat (limited to 'gdb/utils.c')
-rw-r--r--gdb/utils.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/utils.c b/gdb/utils.c
index 3aac2db..6d164e4 100644
--- a/gdb/utils.c
+++ b/gdb/utils.c
@@ -57,6 +57,9 @@
#include <readline/readline.h>
#ifndef MALLOC_INCOMPATIBLE
+#ifdef NEED_DECLARATION_REALLOC
+extern PTR realloc ();
+#endif
#ifdef NEED_DECLARATION_FREE
extern void free ();
#endif