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 | 31e44f6259cac8da710859ec91cd129002d2eb77 (patch) | |
tree | bb1b55c9eb7ffd16ac8efb14a16b38316e1c133d /gdb/defs.h | |
parent | 0ebc87954b71891cb066eda738c8a7bc37dcdb2f (diff) | |
download | gdb-31e44f6259cac8da710859ec91cd129002d2eb77.tar.gz |
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
diff --git a/gdb/defs.h b/gdb/defs.h index d75ecd35b22..b1512a2e39c 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); |