summaryrefslogtreecommitdiff
path: root/toxcore/mono_time.h
diff options
context:
space:
mode:
authorzugz (tox) <mbays+tox@sdf.org>2018-08-17 19:23:59 +0200
committerzugz (tox) <mbays+tox@sdf.org>2018-08-21 23:11:39 +0200
commit21b178396a5267754b8b105b7e4cfaf49531fd85 (patch)
tree99a46edac548a5e20cb69151f21493ad14ff72a0 /toxcore/mono_time.h
parent46b48f06ed8a2d60d6d8579db7d4015a3dea176c (diff)
consistently use 'mono_time' rather than 'monotime'
Diffstat (limited to 'toxcore/mono_time.h')
-rw-r--r--toxcore/mono_time.h10
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
45Mono_Time *mono_time_new(void); 45Mono_Time *mono_time_new(void);
46void mono_time_free(Mono_Time *monotime); 46void mono_time_free(Mono_Time *mono_time);
47 47
48void mono_time_update(Mono_Time *monotime); 48void mono_time_update(Mono_Time *mono_time);
49uint64_t mono_time_get(const Mono_Time *monotime); 49uint64_t mono_time_get(const Mono_Time *mono_time);
50bool mono_time_is_timeout(const Mono_Time *monotime, uint64_t timestamp, uint64_t timeout); 50bool 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). */
53uint64_t current_time_monotonic(const Mono_Time *monotime); 53uint64_t current_time_monotonic(const Mono_Time *mono_time);
54 54
55#ifdef __cplusplus 55#ifdef __cplusplus
56} 56}