1
0
mirror of https://github.com/samba-team/samba.git synced 2025-09-23 01:44:20 +03:00

lib/tevent: expose ev_timeval_zero() for internal usage

metze
This commit is contained in:
Stefan Metzmacher
2009-02-13 15:36:16 +01:00
parent 1d949fe742
commit fa2461ae73
2 changed files with 2 additions and 1 deletions

View File

@@ -157,6 +157,7 @@ void tevent_common_fd_set_close_fn(struct tevent_fd *fde,
uint16_t tevent_common_fd_get_flags(struct tevent_fd *fde);
void tevent_common_fd_set_flags(struct tevent_fd *fde, uint16_t flags);
struct timeval ev_timeval_zero();
bool ev_timeval_is_zero(const struct timeval *tv);
struct tevent_timer *tevent_common_add_timer(struct tevent_context *ev,
TALLOC_CTX *mem_ctx,

View File

@@ -44,7 +44,7 @@ static int ev_timeval_compare(const struct timeval *tv1, const struct timeval *t
/**
return a zero timeval
*/
static struct timeval ev_timeval_zero(void)
struct timeval ev_timeval_zero(void)
{
struct timeval tv;
tv.tv_sec = 0;