X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b5e582ab2e3d739814ccfbb0cf4d2ac8078985a5..cfc676704bebcd57e5ea98bb43154245a150948f:/include/xbt/dynar.h?ds=sidebyside diff --git a/include/xbt/dynar.h b/include/xbt/dynar.h index 9ac385ff20..6dcebc9fc0 100644 --- a/include/xbt/dynar.h +++ b/include/xbt/dynar.h @@ -203,7 +203,7 @@ typedef struct xbt_dynar_s { void_f_pvoid_t free_f; } s_xbt_dynar_t; -static XBT_INLINE int _xbt_dynar_cursor_get(const xbt_dynar_t dynar, unsigned int idx, void *const dst) +static inline int _xbt_dynar_cursor_get(const xbt_dynar_t dynar, unsigned int idx, void *const dst) { if (!dynar) /* iterating over a NULL dynar is a no-op */ return FALSE;