X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/8afc2600f02d2978910a7e4f5d59895de33604be..ad5365a072943b2b0bacc486fa504e93a99ea940:/src/include/xbt/xbt_portability.h diff --git a/src/include/xbt/xbt_portability.h b/src/include/xbt/xbt_portability.h index 1902124839..19d72bb0c3 100644 --- a/src/include/xbt/xbt_portability.h +++ b/src/include/xbt/xbt_portability.h @@ -17,13 +17,13 @@ * gives the number of seconds since the Epoch (00:00:00 UTC, January 1, 1970). * Most users should use gras_os_time and should not use this function unless they really know what they are doing. */ -XBT_PUBLIC double xbt_os_time(void); +XBT_PUBLIC(double) xbt_os_time(void); typedef struct s_xbt_os_timer *xbt_os_timer_t; XBT_PUBLIC xbt_os_timer_t xbt_os_timer_new(void); -XBT_PUBLIC void xbt_os_timer_free(xbt_os_timer_t timer); -XBT_PUBLIC void xbt_os_timer_start(xbt_os_timer_t timer); -XBT_PUBLIC void xbt_os_timer_stop(xbt_os_timer_t timer); -XBT_PUBLIC double xbt_os_timer_elapsed(xbt_os_timer_t timer); +XBT_PUBLIC(void) xbt_os_timer_free(xbt_os_timer_t timer); +XBT_PUBLIC(void) xbt_os_timer_start(xbt_os_timer_t timer); +XBT_PUBLIC(void) xbt_os_timer_stop(xbt_os_timer_t timer); +XBT_PUBLIC(double) xbt_os_timer_elapsed(xbt_os_timer_t timer); #endif