From c86a894ec63d83ecf2c373bbf9dc8fba9713d942 Mon Sep 17 00:00:00 2001 From: Stijn Tintel Date: Thu, 4 Nov 2021 12:28:39 +0200 Subject: [PATCH] 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 --- uloop.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);