aboutsummaryrefslogtreecommitdiff
path: root/gdb/defs.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-12-06 20:59:11 +0000
committerAndrew Cagney <cagney@redhat.com>2001-12-06 20:59:11 +0000
commited1801dfff5252ea5cc2e7b53ccc3e1d76d35613 (patch)
treeed39fd0f1ce525e2af5d3d86a4041c4228d88914 /gdb/defs.h
parent31e9866ea62cc5ec24e9ff633bc9715d7da2b1b0 (diff)
downloadgdb-ed1801dfff5252ea5cc2e7b53ccc3e1d76d35613.zip
gdb-ed1801dfff5252ea5cc2e7b53ccc3e1d76d35613.tar.gz
gdb-ed1801dfff5252ea5cc2e7b53ccc3e1d76d35613.tar.bz2
Eliminate global #include of "mmalloc.h".
Diffstat (limited to 'gdb/defs.h')
-rw-r--r--gdb/defs.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/gdb/defs.h b/gdb/defs.h
index d75ecd3..b1512a2 100644
--- a/gdb/defs.h
+++ b/gdb/defs.h
@@ -59,10 +59,6 @@
#include "progress.h"
-#ifdef USE_MMALLOC
-#include "mmalloc.h"
-#endif
-
/* For BFD64 and bfd_vma. */
#include "bfd.h"
@@ -1029,16 +1025,6 @@ extern char *msavestring (void *, const char *, size_t);
extern char *mstrsave (void *, const char *);
-#if !defined (USE_MMALLOC)
-/* NOTE: cagney/2000-03-04: The mmalloc functions need to use PTR
- rather than void* so that they are consistent with the delcaration
- in ../mmalloc/mmalloc.h. */
-extern PTR mcalloc (PTR, size_t, size_t);
-extern PTR mmalloc (PTR, size_t);
-extern PTR mrealloc (PTR, PTR, size_t);
-extern void mfree (PTR, PTR);
-#endif
-
/* Robust versions of same. Throw an internal error when no memory,
guard against stray NULL arguments. */
extern void *xmmalloc (void *md, size_t size);