X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=lib%2Frealloc.c;h=536f61f9acce4714b53e9a43e6222b6e35ac67d0;hb=b42162f5526360acc6930e3d2e296af1fef08e63;hp=6829c71fb46b8588832c86bb75a45695bf3df6b4;hpb=1571781022499a9d0c32d249f89945d034d1cbff;p=libucw.git diff --git a/lib/realloc.c b/lib/realloc.c index 6829c71f..536f61f9 100644 --- a/lib/realloc.c +++ b/lib/realloc.c @@ -2,12 +2,17 @@ * Sherlock Library -- Memory Re-allocation * * (c) 1997 Martin Mares + * + * This software may be freely distributed and used according to the terms + * of the GNU Lesser General Public License. */ #include "lib/lib.h" #include +#ifndef DEBUG_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