X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=lib%2Falloc.c;h=21d9635778daf3974132f1fc6f13df82523f78a4;hb=cab386086509de5dd4b87179d9e149c017fdc707;hp=075321436c44f1dba1ffb54d5098d5248fd60b64;hpb=2c27563b528310adb8c5216161953171a664043b;p=libucw.git diff --git a/lib/alloc.c b/lib/alloc.c index 07532143..21d96357 100644 --- a/lib/alloc.c +++ b/lib/alloc.c @@ -2,6 +2,9 @@ * Sherlock Library -- Memory Allocation * * (c) 2000 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" @@ -9,6 +12,8 @@ #include #include +#ifndef DEBUG_DMALLOC + void * xmalloc(uns size) { @@ -18,6 +23,8 @@ xmalloc(uns size) return x; } +#endif + void * xmalloc_zero(uns size) {