From: cherierm Date: Fri, 21 Sep 2007 15:49:45 +0000 (+0000) Subject: adapt the prototypes of the declaration to the prototypes of the definition X-Git-Tag: v3.3~1127 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/5319ffc7b1323889e1b8e2d88dd00e6a5f5b1372 adapt the prototypes of the declaration to the prototypes of the definition git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@4664 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/include/xbt/heap.h b/include/xbt/heap.h index fa096bea3b..8a21d6cf9b 100644 --- a/include/xbt/heap.h +++ b/include/xbt/heap.h @@ -19,7 +19,7 @@ /* @brief heap datatype */ typedef struct xbt_heap *xbt_heap_t; -XBT_PUBLIC(xbt_heap_t) xbt_heap_new(int num, void_f_pvoid_t free_func); +XBT_PUBLIC(xbt_heap_t) xbt_heap_new(int num, 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);