diff options
author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-01-02 01:16:38 +0000 |
---|---|---|
committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-01-02 01:16:38 +0000 |
commit | dfdaea73369e336c023f338c097947696c217bc2 (patch) | |
tree | 363d4c2ee9254618b05b594ab89e9d2861587549 /include/busybox.h | |
parent | 20506cdd35e55432521cc509c2492147c5769652 (diff) | |
download | busybox-w32-dfdaea73369e336c023f338c097947696c217bc2.tar.gz busybox-w32-dfdaea73369e336c023f338c097947696c217bc2.tar.bz2 busybox-w32-dfdaea73369e336c023f338c097947696c217bc2.zip |
Better dmalloc handling
git-svn-id: svn://busybox.net/trunk/busybox@1512 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to '')
-rw-r--r-- | include/busybox.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/busybox.h b/include/busybox.h index ae256fe7b..a89ac3694 100644 --- a/include/busybox.h +++ b/include/busybox.h | |||
@@ -26,10 +26,6 @@ | |||
26 | 26 | ||
27 | #include "Config.h" | 27 | #include "Config.h" |
28 | 28 | ||
29 | #ifdef DMALLOC | ||
30 | #include "dmalloc.h" | ||
31 | #endif | ||
32 | |||
33 | #include <stdlib.h> | 29 | #include <stdlib.h> |
34 | #include <stdarg.h> | 30 | #include <stdarg.h> |
35 | #include <string.h> | 31 | #include <string.h> |
@@ -37,12 +33,16 @@ | |||
37 | #include <errno.h> | 33 | #include <errno.h> |
38 | #include <sys/stat.h> | 34 | #include <sys/stat.h> |
39 | #include <sys/param.h> | 35 | #include <sys/param.h> |
36 | #include <sys/types.h> | ||
40 | #include <mntent.h> | 37 | #include <mntent.h> |
41 | #include <regex.h> | 38 | #include <regex.h> |
42 | /* for the _syscall() macros */ | 39 | /* for the _syscall() macros */ |
43 | #include <sys/syscall.h> | 40 | #include <sys/syscall.h> |
44 | #include <linux/unistd.h> | 41 | #include <linux/unistd.h> |
45 | 42 | ||
43 | #ifdef DMALLOC | ||
44 | #include "dmalloc.h" | ||
45 | #endif | ||
46 | 46 | ||
47 | /* Some useful definitions */ | 47 | /* Some useful definitions */ |
48 | #define FALSE ((int) 0) | 48 | #define FALSE ((int) 0) |
@@ -183,7 +183,7 @@ extern void xregcomp(regex_t *preg, const char *regex, int cflags); | |||
183 | extern FILE *wfopen(const char *path, const char *mode); | 183 | extern FILE *wfopen(const char *path, const char *mode); |
184 | extern FILE *xfopen(const char *path, const char *mode); | 184 | extern FILE *xfopen(const char *path, const char *mode); |
185 | 185 | ||
186 | #ifndef DMALLOC | 186 | #ifndef DMALLOC |
187 | extern void *xmalloc (size_t size); | 187 | extern void *xmalloc (size_t size); |
188 | extern void *xrealloc(void *old, size_t size); | 188 | extern void *xrealloc(void *old, size_t size); |
189 | extern void *xcalloc(size_t nmemb, size_t size); | 189 | extern void *xcalloc(size_t nmemb, size_t size); |