projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
malloc() -> xmalloc.
[deliverable/binutils-gdb.git]
/
gdb
/
utils.c
diff --git
a/gdb/utils.c
b/gdb/utils.c
index 6d164e45ae35e9a6aec88428f2abe703fe8e3f20..b1205d6861cf5d3e97ff5377d165f22761cd68e4 100644
(file)
--- 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
This page took
0.02314 seconds
and
4
git commands to generate.