diff options
author | Eric Andersen | 2000-07-19 17:35:54 +0000 |
---|---|---|
committer | Eric Andersen | 2000-07-19 17:35:54 +0000 |
commit | ae6eae02dd85a196a4545376a50166aede8ce7c1 (patch) | |
tree | c3dbc22408e4323f916fb1f1171f7aa73fa2aecc /internal.h | |
parent | 52d6fa3bb335fcfefc2b205e7ba509fc4b284793 (diff) | |
download | busybox-ae6eae02dd85a196a4545376a50166aede8ce7c1.zip busybox-ae6eae02dd85a196a4545376a50166aede8ce7c1.tar.gz |
Moved some code and add a coupld #defines to support use of dmalloc.
-Erik
Diffstat (limited to 'internal.h')
-rw-r--r-- | internal.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -26,6 +26,10 @@ #include "busybox.def.h" +#ifdef DMALLOC +#include "dmalloc.h" +#endif + #include <stdlib.h> #include <stdarg.h> #include <string.h> @@ -360,8 +364,11 @@ extern char process_escape_sequence(char **ptr); extern char *get_last_path_component(char *path); extern void xregcomp(regex_t *preg, const char *regex, int cflags); +#ifndef DMALLOC extern void *xmalloc (size_t size); +extern void *xrealloc(void *old, size_t size) extern char *xstrdup (const char *s); +#endif extern char *xstrndup (const char *s, int n); |