From 38259232fa161bc8e422b08cc363a3b046b1626c Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Thu, 8 Dec 2011 23:10:53 +0100 Subject: [PATCH 1/1] cosmetics --- include/xbt/heap.h | 2 +- src/xbt/heap_private.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; -- 2.20.1