Module: kamailio Branch: master Commit: 41b629519969bde65f09d0789e811012297c70b7 URL: https://github.com/kamailio/kamailio/commit/41b629519969bde65f09d0789e811012...
Author: Camille Oudot camille.oudot@orange.com Committer: Camille Oudot camille.oudot@orange.com Date: 2015-04-22T11:48:41+02:00
mem: fix shm_available() def for TLSF
---
Modified: mem/shm_mem.h
---
Diff: https://github.com/kamailio/kamailio/commit/41b629519969bde65f09d0789e811012... Patch: https://github.com/kamailio/kamailio/commit/41b629519969bde65f09d0789e811012...
---
diff --git a/mem/shm_mem.h b/mem/shm_mem.h index 6b7ce84..a240cd4 100644 --- a/mem/shm_mem.h +++ b/mem/shm_mem.h @@ -154,7 +154,7 @@ # define MY_SUMS(...) ((void) 0) # define shm_malloc_init(mem, bytes, type) tlsf_create_with_pool((void*) mem, bytes) # define shm_malloc_destroy(b) do{}while(0) -# define shm_available() qm_available(shm_block) +# define shm_available() tlsf_available(shm_block) # define shm_malloc_on_fork() do{}while(0) #else # include "q_malloc.h"