Fixup compile problem with dmalloc
authorEric Andersen <andersen@codepoet.org>
Sat, 5 Jul 2003 22:15:43 +0000 (22:15 -0000)
committerEric Andersen <andersen@codepoet.org>
Sat, 5 Jul 2003 22:15:43 +0000 (22:15 -0000)
libbb/xfuncs.c

index 43e8aef0c7c15239e4c6e1ec34f32e2274a20b3b..299998948645066c5200218e6d2e1a05de6509a1 100644 (file)
@@ -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) {