X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/66a3111ca9c87d7b8bbf463c2810de951aa686d7..9c92907fc7a130fd6abc60b98791daa320742ba2:/src/xbt/fifo.c diff --git a/src/xbt/fifo.c b/src/xbt/fifo.c index 8cd20e0a20..3f6714bc82 100644 --- a/src/xbt/fifo.c +++ b/src/xbt/fifo.c @@ -559,13 +559,13 @@ xbt_fifo_item_t xbt_fifo_getPrevItem(xbt_fifo_item_t i) * These are internal XBT functions called by xbt_preinit/postexit(). * It can be used several times to recreate the mallocator, for example when you switch to MC mode */ -void xbt_fifo_preinit(void) +void xbt_fifo_preinit() { item_mallocator = xbt_mallocator_new(65536, fifo_item_mallocator_new_f, fifo_item_mallocator_free_f, fifo_item_mallocator_reset_f); } -void xbt_fifo_postexit(void) +void xbt_fifo_postexit() { if (item_mallocator != NULL) { xbt_mallocator_free(item_mallocator);