From: Martin Quinson Date: Thu, 8 Dec 2011 22:10:53 +0000 (+0100) Subject: cosmetics X-Git-Tag: exp_20120216~238 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/38259232fa161bc8e422b08cc363a3b046b1626c cosmetics --- diff --git a/include/xbt/heap.h b/include/xbt/heap.h index ab20dfea89..b6e968998c 100644 --- a/include/xbt/heap.h +++ b/include/xbt/heap.h @@ -18,7 +18,7 @@ /* @brief heap datatype */ typedef struct xbt_heap *xbt_heap_t; -XBT_PUBLIC(xbt_heap_t) xbt_heap_new(int num, +XBT_PUBLIC(xbt_heap_t) xbt_heap_new(int init_size, void_f_pvoid_t const free_func); XBT_PUBLIC(void) xbt_heap_free(xbt_heap_t H); XBT_PUBLIC(int) xbt_heap_size(xbt_heap_t H); diff --git a/src/xbt/heap_private.h b/src/xbt/heap_private.h index c0330c73eb..cd2b6a81a2 100644 --- a/src/xbt/heap_private.h +++ b/src/xbt/heap_private.h @@ -18,7 +18,7 @@ typedef struct xbt_heap_item { typedef struct xbt_heap { int size; int count; - xbt_heap_item_t items; + s_xbt_heap_item_t* items; /* array of structs */ void_f_pvoid_t free; void (*update_callback) (void *, int); } s_xbt_heap_t;