X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/e54c5e982d2a6dd3d2d152038819639b088a1086..0f5e8daaa6e9f74521068aa75837200bcd182ea6:/include/xbt/heap.h diff --git a/include/xbt/heap.h b/include/xbt/heap.h index 4b5e707030..ab20dfea89 100644 --- a/include/xbt/heap.h +++ b/include/xbt/heap.h @@ -18,7 +18,8 @@ /* @brief heap datatype */ typedef struct xbt_heap *xbt_heap_t; -XBT_PUBLIC(xbt_heap_t) xbt_heap_new(int num, void_f_pvoid_t const 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); @@ -27,8 +28,11 @@ XBT_PUBLIC(void *) xbt_heap_pop(xbt_heap_t H); XBT_PUBLIC(double) xbt_heap_maxkey(xbt_heap_t H); XBT_PUBLIC(void *) xbt_heap_maxcontent(xbt_heap_t H); -XBT_PUBLIC(void) xbt_heap_set_update_callback(xbt_heap_t H, void (*update_callback)(void*, int)); -XBT_PUBLIC(void*) xbt_heap_remove(xbt_heap_t H, int i); +XBT_PUBLIC(void) xbt_heap_set_update_callback(xbt_heap_t H, + void (*update_callback) (void + *, + int)); +XBT_PUBLIC(void *) xbt_heap_remove(xbt_heap_t H, int i); /* @} */ -#endif /* _XBT_HEAP_H */ +#endif /* _XBT_HEAP_H */