]> mj.ucw.cz Git - libucw.git/blobdiff - lib/realloc.c
Oops, the card array was reversed!
[libucw.git] / lib / realloc.c
index 6829c71fb46b8588832c86bb75a45695bf3df6b4..150a3d7bc5593d61d655349a0294a4e3cb3ebe52 100644 (file)
@@ -2,12 +2,17 @@
  *     Sherlock Library -- Memory Re-allocation
  *
  *     (c) 1997 Martin Mares <mj@ucw.cz>
+ *
+ *     This software may be freely distributed and used according to the terms
+ *     of the GNU Lesser General Public License.
  */
 
 #include "lib/lib.h"
 
 #include <stdlib.h>
 
+#ifndef DMALLOC
+
 void *
 xrealloc(void *old, uns size)
 {
@@ -16,3 +21,5 @@ xrealloc(void *old, uns size)
     die("Cannot reallocate %d bytes of memory", size);
   return x;
 }
+
+#endif