-/* xmalloc() & friends.
-
- The macros set tmalloc_tag to __FILE__, the functions leave it
- alone. Use the latter if you set it yourself. See tmalloc.c for
- details. */
-
-extern void *xmalloc (size_t);
-extern void *xrealloc (void *, size_t);
-extern char *xstrdup (const char *);
-extern void xnomem (void);
-extern void free (void *);
-
-# define xmalloc(size) (XMALLOC_TRACE (xmalloc) ((size)))
-# define xrealloc(ptr, size) (XMALLOC_TRACE (xrealloc) ((ptr), (size)))
-# define xstrdup(str) (XMALLOC_TRACE (xstrdup) ((str)))
-# define xfree(ptr) (XMALLOC_TRACE free ((ptr)))
-
-#if defined(HAVE_GNU_MALLOC) && defined(DEBUG)
-extern const char *tmalloc_tag;
-# define XMALLOC_TRACE tmalloc_tag = __FILE__,
-#else
-# define XMALLOC_TRACE
-#endif