uloop: add uloop_timeout_remaining64
authorStijn Tintel <stijn@linux-ipv6.be>
Thu, 4 Nov 2021 10:26:41 +0000 (12:26 +0200)
committerStijn Tintel <stijn@linux-ipv6.be>
Thu, 4 Nov 2021 11:05:24 +0000 (13:05 +0200)
commit3344157381505e343b334e2eb6c60c9d3318e5bb
tree74ca3e30aa81600f7d9e6e7da6caaf4fa9070f6c
parent123e976f3d012b310ac223a54b7ef5213107e33d
uloop: add uloop_timeout_remaining64

This uses the same return type as tv_diff so we don't need to check for
integer overflow.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Acked-by: Jo-Philipp Wich <jo@mein.io>
Acked-by: John Crispin <john@phrozen.org>
uloop.c
uloop.h