Eliminate global #include of "mmalloc.h".

This commit is contained in:
Andrew Cagney
2001-12-06 20:59:11 +00:00
parent 31e9866ea6
commit ed1801dfff
4 changed files with 23 additions and 22 deletions

View File

@@ -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);