From 14484c6879ff5796d962b49aa76a7f3e04c2319c Mon Sep 17 00:00:00 2001 From: "zugz (tox)" Date: Fri, 17 Aug 2018 19:22:18 +0200 Subject: make Mono_Time an argument to current_time_monotonic --- toxcore/mono_time.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toxcore/mono_time.h') diff --git a/toxcore/mono_time.h b/toxcore/mono_time.h index 1d2dd539..489bf138 100644 --- a/toxcore/mono_time.h +++ b/toxcore/mono_time.h @@ -50,7 +50,7 @@ uint64_t mono_time_get(const Mono_Time *monotime); bool mono_time_is_timeout(const Mono_Time *monotime, uint64_t timestamp, uint64_t timeout); /* return current monotonic time in milliseconds (ms). */ -uint64_t current_time_monotonic(void); +uint64_t current_time_monotonic(const Mono_Time *monotime); #ifdef __cplusplus } -- cgit v1.2.3