diff options
author | zugz (tox) <mbays+tox@sdf.org> | 2018-08-17 19:22:18 +0200 |
---|---|---|
committer | zugz (tox) <mbays+tox@sdf.org> | 2018-08-19 23:41:43 +0200 |
commit | 14484c6879ff5796d962b49aa76a7f3e04c2319c (patch) | |
tree | c02cf58bb7e047d01f5493d811a75eec2dfaecee /toxcore/mono_time.h | |
parent | e32e0b3402006dabfc44e9a3eb1e806d9d3fc00d (diff) |
make Mono_Time an argument to current_time_monotonic
Diffstat (limited to 'toxcore/mono_time.h')
-rw-r--r-- | toxcore/mono_time.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); | |||
50 | bool mono_time_is_timeout(const Mono_Time *monotime, uint64_t timestamp, uint64_t timeout); | 50 | bool mono_time_is_timeout(const Mono_Time *monotime, uint64_t timestamp, uint64_t timeout); |
51 | 51 | ||
52 | /* return current monotonic time in milliseconds (ms). */ | 52 | /* return current monotonic time in milliseconds (ms). */ |
53 | uint64_t current_time_monotonic(void); | 53 | uint64_t current_time_monotonic(const Mono_Time *monotime); |
54 | 54 | ||
55 | #ifdef __cplusplus | 55 | #ifdef __cplusplus |
56 | } | 56 | } |