X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/2e81aeec4dfd8d6d5cf1f017f407059ca6a4e1f3..9b757886241c3fc8c055842b3cf7fef7494031d7:/src/surf/surf_private.h diff --git a/src/surf/surf_private.h b/src/surf/surf_private.h index 63c73ad28c..d65028f630 100644 --- a/src/surf/surf_private.h +++ b/src/surf/surf_private.h @@ -48,13 +48,13 @@ double generic_maxmin_share_resources(xbt_swag_t running_actions, void (*solve) (lmm_system_t)); /* Generic functions common to all models */ -e_surf_action_state_t surf_action_state_get(surf_action_t action); -double surf_action_get_start_time(surf_action_t action); -double surf_action_get_finish_time(surf_action_t action); +XBT_INLINE e_surf_action_state_t surf_action_state_get(surf_action_t action); +XBT_INLINE double surf_action_get_start_time(surf_action_t action); +XBT_INLINE double surf_action_get_finish_time(surf_action_t action); void surf_action_free(surf_action_t * action); void surf_action_state_set(surf_action_t action, e_surf_action_state_t state); -void surf_action_data_set(surf_action_t action, void *data); +XBT_INLINE void surf_action_data_set(surf_action_t action, void *data); FILE *surf_fopen(const char *name, const char *mode); extern tmgr_history_t history;