X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/9189fe94c14ef9e31142d1603a1979ea7e731a0a..dc35ba75078e8ed895386c9be316774d3235f869:/include/gras/timer.h diff --git a/include/gras/timer.h b/include/gras/timer.h index 8c5e418e14..7a38129ad3 100644 --- a/include/gras/timer.h +++ b/include/gras/timer.h @@ -13,10 +13,10 @@ #include "xbt/misc.h" -BEGIN_DECL() +SG_BEGIN_DECL() /** @addtogroup GRAS_timer - * @brief Delayed and repetitive tasks (Communication facility) + * @brief Delayed and repetitive tasks * * This is how to have a specific function called only once after the * specified amount of time or a function executed every 5 mn until it gets @@ -37,8 +37,6 @@ BEGIN_DECL() * @{ */ - typedef void (*void_f_void_t)(void); - void gras_timer_delay(double delay, void_f_void_t action); void gras_timer_repeat(double interval, void_f_void_t action); @@ -52,6 +50,6 @@ BEGIN_DECL() /** @} */ -END_DECL() +SG_END_DECL() #endif /* GRAS_TIMER_H */