win32/vc build fix
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@153 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
This commit is contained in:
parent
6babaf0481
commit
f7c115c405
|
@ -86,8 +86,6 @@ XC_MEM_BLOCK_OFFSET(xc_malloc_block_offset) /* {{{ */
|
|||
|
||||
static XC_MEM_INIT(xc_mem_malloc_init) /* {{{ */
|
||||
{
|
||||
xc_block_t *b;
|
||||
|
||||
#define MINSIZE (ALIGN(sizeof(xc_mem_t)))
|
||||
/* requires at least the header and 1 tail block */
|
||||
if (size < MINSIZE) {
|
||||
|
|
10
xc_shm.c
10
xc_shm.c
|
@ -18,15 +18,13 @@ static xc_shm_scheme_t xc_shm_schemes[10];
|
|||
|
||||
void xc_shm_init_modules() /* {{{ */
|
||||
{
|
||||
memset(xc_shm_schemes, 0, sizeof(xc_shm_schemes));
|
||||
|
||||
extern void xc_shm_mem_init();
|
||||
xc_shm_mem_init();
|
||||
|
||||
extern void xc_shm_malloc_register();
|
||||
xc_shm_malloc_register();
|
||||
|
||||
extern void xc_shm_mmap_register();
|
||||
|
||||
memset(xc_shm_schemes, 0, sizeof(xc_shm_schemes));
|
||||
xc_shm_mem_init();
|
||||
xc_shm_malloc_register();
|
||||
xc_shm_mmap_register();
|
||||
}
|
||||
/* }}} */
|
||||
|
|
Loading…
Reference in New Issue