From 8b0d9331547b7d784278e38564f416d61387082c Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 23 Jan 2013 19:33:12 +0100 Subject: [PATCH] uloop: rename uloop_timeout_pending() to uloop_timeout_remaining() --- uloop.c | 2 +- uloop.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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);