aboutsummaryrefslogtreecommitdiff
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 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) {