Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Rhhaaa, use the __compar_fn_t type defined in stdlib instead of
[simgrid.git] / src / xbt / dynar.c
index 5498ba1..446f26d 100644 (file)
@@ -692,7 +692,7 @@ XBT_INLINE void xbt_dynar_cursor_unlock(xbt_dynar_t dynar)
  * Remark: if the elements stored in the dynar are structures, the compar_fn
  * function has to retrieve the field to sort first.
  */
-XBT_INLINE void xbt_dynar_sort(xbt_dynar_t dynar, int_f_pvoid_pvoid_t compar_fn){
+XBT_INLINE void xbt_dynar_sort(xbt_dynar_t dynar, __compar_fn_t compar_fn){
 
        _dynar_lock(dynar);