summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libbb/xfuncs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/xfuncs.c b/libbb/xfuncs.c
index 43e8aef..2999989 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) {