uloop: rename uloop_timeout_pending() to uloop_timeout_remaining()

This commit is contained in:
Jo-Philipp Wich 2013-01-23 19:33:12 +01:00
parent 77984bd24d
commit 8b0d933154
2 changed files with 2 additions and 2 deletions

View file

@ -387,7 +387,7 @@ int uloop_timeout_cancel(struct uloop_timeout *timeout)
return 0; return 0;
} }
int uloop_timeout_pending(struct uloop_timeout *timeout) int uloop_timeout_remaining(struct uloop_timeout *timeout)
{ {
struct timeval now; struct timeval now;

View file

@ -87,7 +87,7 @@ int uloop_fd_delete(struct uloop_fd *sock);
int uloop_timeout_add(struct uloop_timeout *timeout); int uloop_timeout_add(struct uloop_timeout *timeout);
int uloop_timeout_set(struct uloop_timeout *timeout, int msecs); int uloop_timeout_set(struct uloop_timeout *timeout, int msecs);
int uloop_timeout_cancel(struct uloop_timeout *timeout); int uloop_timeout_cancel(struct uloop_timeout *timeout);
int uloop_timeout_pending(struct uloop_timeout *timeout); int uloop_timeout_remaining(struct uloop_timeout *timeout);
int uloop_process_add(struct uloop_process *p); int uloop_process_add(struct uloop_process *p);
int uloop_process_delete(struct uloop_process *p); int uloop_process_delete(struct uloop_process *p);