X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=inline;f=ucw%2Feltpool.h;h=24911fb5e54c625e6a574081a8200817358d480c;hb=b4aae2e94174b491161bd461b049c6d1b3b3602f;hp=1b70d440f7548445e1ce606dca04de76a8f92113;hpb=57501aa6ad13a8c4d1448cd4f511e77a0042ad11;p=libucw.git diff --git a/ucw/eltpool.h b/ucw/eltpool.h index 1b70d440..24911fb5 100644 --- a/ucw/eltpool.h +++ b/ucw/eltpool.h @@ -81,7 +81,7 @@ void *ep_alloc_slow(struct eltpool *pool); /* Internal. Do not call directly. */ static inline void *ep_alloc(struct eltpool *pool) { pool->num_allocated++; -#ifdef CONFIG_FAKE_ELTPOOL +#ifdef CONFIG_UCW_FAKE_ELTPOOL return xmalloc(pool->elt_size); #else struct eltpool_free *elt; @@ -101,7 +101,7 @@ static inline void *ep_alloc(struct eltpool *pool) static inline void ep_free(struct eltpool *pool, void *p) { pool->num_allocated--; -#ifdef CONFIG_FAKE_ELTPOOL +#ifdef CONFIG_UCW_FAKE_ELTPOOL (void) pool; xfree(p); #else