aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-07-05 22:15:43 +0000
committerEric Andersen <andersen@codepoet.org>2003-07-05 22:15:43 +0000
commit9f894f4062dbdd427895a9d12ca06e34791a4fb3 (patch)
treeae65eb5c70a100f421a79a290f8695e7d7b4f57b
parent3c5a83c5672fb784f982fa1f9796b0e86c67e777 (diff)
downloadbusybox-9f894f4062dbdd427895a9d12ca06e34791a4fb3.tar.gz
Fixup compile problem with dmalloc
-rw-r--r--libbb/xfuncs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/xfuncs.c b/libbb/xfuncs.c
index 43e8aef0c..299998948 100644
--- a/libbb/xfuncs.c
+++ b/libbb/xfuncs.c
@@ -59,6 +59,7 @@ extern void *xcalloc(size_t nmemb, size_t size)
return ptr;
}
#endif
+#endif /* DMALLOC */
#ifdef L_xstrdup
extern char * bb_xstrdup (const char *s) {
@@ -75,7 +76,6 @@ extern char * bb_xstrdup (const char *s) {
return t;
}
#endif
-#endif /* DMALLOC */
#ifdef L_xstrndup
extern char * bb_xstrndup (const char *s, int n) {