diff options
author | Andrew Cagney <cagney@redhat.com> | 2001-12-06 20:59:11 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2001-12-06 20:59:11 +0000 |
commit | ed1801dfff5252ea5cc2e7b53ccc3e1d76d35613 (patch) | |
tree | ed39fd0f1ce525e2af5d3d86a4041c4228d88914 /gdb/defs.h | |
parent | 31e9866ea62cc5ec24e9ff633bc9715d7da2b1b0 (diff) | |
download | gdb-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.h | 14 |
1 files changed, 0 insertions, 14 deletions
@@ -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); |