diff --git a/lib/poll_funcs/poll_funcs.h b/lib/poll_funcs/poll_funcs.h index 6072eb5b0359..115825bd6766 100644 --- a/lib/poll_funcs/poll_funcs.h +++ b/lib/poll_funcs/poll_funcs.h @@ -92,7 +92,7 @@ struct poll_funcs { * * @param[in] funcs The callback array * @param[in] tv The time when the timeout should trigger - * @param[in] callback Function to call at time "ts" + * @param[in] callback Function to call at time "tv" * @param[in] private_data Pointer to give back to callback * * @return A new poll_timeout struct @@ -107,11 +107,11 @@ struct poll_funcs { * @brief Change the timeout of a watch * * @param[in] t The timeout watch to change - * @param[in] ts The new trigger time + * @param[in] tv The new trigger time */ void (*timeout_update)(struct poll_timeout *t, - const struct timespec *ts); + const struct timeval *tv); /** * @brief Free a poll_timeout diff --git a/lib/poll_funcs/poll_funcs_tevent.c b/lib/poll_funcs/poll_funcs_tevent.c index 8fdf08061e65..6f27eeb8aeaf 100644 --- a/lib/poll_funcs/poll_funcs_tevent.c +++ b/lib/poll_funcs/poll_funcs_tevent.c @@ -253,7 +253,7 @@ static struct poll_timeout *tevent_timeout_new( } static void tevent_timeout_update(struct poll_timeout *t, - const struct timespec *ts) + const struct timeval *tv) { return; }