projects
/
oweals
/
libubox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77984bd
)
uloop: rename uloop_timeout_pending() to uloop_timeout_remaining()
author
Jo-Philipp Wich
<jow@openwrt.org>
Wed, 23 Jan 2013 18:33:12 +0000
(19:33 +0100)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Wed, 23 Jan 2013 18:33:12 +0000
(19:33 +0100)
uloop.c
patch
|
blob
|
history
uloop.h
patch
|
blob
|
history
diff --git
a/uloop.c
b/uloop.c
index 3a62b6272754ac63d0c52f54be57feb006a337dd..a3ba3ad550c6a8c7383b7e167c697e2fd5a08835 100644
(file)
--- a/
uloop.c
+++ b/
uloop.c
@@
-387,7
+387,7
@@
int uloop_timeout_cancel(struct uloop_timeout *timeout)
return 0;
}
-int uloop_timeout_
pend
ing(struct uloop_timeout *timeout)
+int uloop_timeout_
remain
ing(struct uloop_timeout *timeout)
{
struct timeval now;
diff --git
a/uloop.h
b/uloop.h
index 8fb890deb76cc35c997b3df73237a51bbcc0439e..1d32c39d62b2f1c849af28eb51861bcc68cd453d 100644
(file)
--- 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_
pend
ing(struct uloop_timeout *timeout);
+int uloop_timeout_
remain
ing(struct uloop_timeout *timeout);
int uloop_process_add(struct uloop_process *p);
int uloop_process_delete(struct uloop_process *p);