From: Jo-Philipp Wich Date: Wed, 23 Jan 2013 18:33:12 +0000 (+0100) Subject: uloop: rename uloop_timeout_pending() to uloop_timeout_remaining() X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8b0d9331547b7d784278e38564f416d61387082c;p=oweals%2Flibubox.git uloop: rename uloop_timeout_pending() to uloop_timeout_remaining() --- diff --git a/uloop.c b/uloop.c index 3a62b62..a3ba3ad 100644 --- a/uloop.c +++ b/uloop.c @@ -387,7 +387,7 @@ int uloop_timeout_cancel(struct uloop_timeout *timeout) return 0; } -int uloop_timeout_pending(struct uloop_timeout *timeout) +int uloop_timeout_remaining(struct uloop_timeout *timeout) { struct timeval now; diff --git a/uloop.h b/uloop.h index 8fb890d..1d32c39 100644 --- a/uloop.h +++ b/uloop.h @@ -87,7 +87,7 @@ int uloop_fd_delete(struct uloop_fd *sock); int uloop_timeout_add(struct uloop_timeout *timeout); int uloop_timeout_set(struct uloop_timeout *timeout, int msecs); 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_delete(struct uloop_process *p);