mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-22 17:35:59 +03:00
4a8d120415
a seperate chunk of memory from dbg_malloc for each pool_alloc. This will allow the bounds checking code in dbg_malloc to do it's stuff. o The normal implementation moved to pool-fast.c o pool.c now just contains a #ifdef and includes the appropriate .c file. Alasdair, could you make sure that gcc -MM get's passed all the CFLAGS please, otherwise the dependencies get calculated incorrectly.
12 lines
183 B
C
12 lines
183 B
C
/*
|
|
* Copyright (C) 2001 Sistina Software (UK) Limited.
|
|
*
|
|
* This file is released under the LGPL.
|
|
*/
|
|
|
|
#ifdef DEBUG_POOL
|
|
#include "pool-debug.c"
|
|
#else
|
|
#include "pool-fast.c"
|
|
#endif
|