Skip to content

Commit

Permalink
lib: Fix poll_func_timeout prototypes
Browse files Browse the repository at this point in the history
Signed-off-by: Volker Lendecke <[email protected]>
Reviewed-by: Ralph Boehme <[email protected]>
  • Loading branch information
vlendec committed Aug 20, 2016
1 parent a2086e9 commit 552c7de
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions lib/poll_funcs/poll_funcs.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lib/poll_funcs/poll_funcs_tevent.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 552c7de

Please sign in to comment.