diff options
Diffstat (limited to 'toxcore/mono_time.h')
-rw-r--r-- | toxcore/mono_time.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/toxcore/mono_time.h b/toxcore/mono_time.h index 489bf138..ed69e3b0 100644 --- a/toxcore/mono_time.h +++ b/toxcore/mono_time.h | |||
@@ -43,14 +43,14 @@ typedef struct Mono_Time Mono_Time; | |||
43 | #endif /* MONO_TIME_DEFINED */ | 43 | #endif /* MONO_TIME_DEFINED */ |
44 | 44 | ||
45 | Mono_Time *mono_time_new(void); | 45 | Mono_Time *mono_time_new(void); |
46 | void mono_time_free(Mono_Time *monotime); | 46 | void mono_time_free(Mono_Time *mono_time); |
47 | 47 | ||
48 | void mono_time_update(Mono_Time *monotime); | 48 | void mono_time_update(Mono_Time *mono_time); |
49 | uint64_t mono_time_get(const Mono_Time *monotime); | 49 | uint64_t mono_time_get(const Mono_Time *mono_time); |
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 *mono_time, 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(const Mono_Time *monotime); | 53 | uint64_t current_time_monotonic(const Mono_Time *mono_time); |
54 | 54 | ||
55 | #ifdef __cplusplus | 55 | #ifdef __cplusplus |
56 | } | 56 | } |