summaryrefslogtreecommitdiff
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
commit365f67c1fd2c8d32730c6715e0034372402e7e2e (patch)
treee1019b82e36c33827ec3efaca6f4fd4ac9b6614a /gdb/utils.c
parent619b7fe63b30edc68481be5f60ccde24165e837e (diff)
downloadgdb-365f67c1fd2c8d32730c6715e0034372402e7e2e.tar.gz
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 3aac2db3625..6d164e45ae3 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