From: Stijn Tintel Date: Thu, 4 Nov 2021 10:28:39 +0000 (+0200) Subject: uloop: deprecate uloop_timeout_remaining X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c86a894ec63d83ecf2c373bbf9dc8fba9713d942;p=project%2Flibubox.git uloop: deprecate uloop_timeout_remaining We have uloop_timeout_remaining64 now. Signed-off-by: Stijn Tintel Acked-by: Jo-Philipp Wich Acked-by: John Crispin --- diff --git a/uloop.h b/uloop.h index 7ac345e..b7e97bb 100644 --- a/uloop.h +++ b/uloop.h @@ -92,7 +92,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_remaining(struct uloop_timeout *timeout); +int uloop_timeout_remaining(struct uloop_timeout *timeout) __attribute__((deprecated("use uloop_timeout_remaining64"))); int64_t uloop_timeout_remaining64(struct uloop_timeout *timeout); int uloop_process_add(struct uloop_process *p);