diff options
author | zugz (tox) <mbays+tox@sdf.org> | 2018-08-17 19:23:59 +0200 |
---|---|---|
committer | zugz (tox) <mbays+tox@sdf.org> | 2018-08-21 23:11:39 +0200 |
commit | 21b178396a5267754b8b105b7e4cfaf49531fd85 (patch) | |
tree | 99a46edac548a5e20cb69151f21493ad14ff72a0 /toxcore/mono_time.h | |
parent | 46b48f06ed8a2d60d6d8579db7d4015a3dea176c (diff) |
consistently use 'mono_time' rather than 'monotime'
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 | } |