diff options
Diffstat (limited to 'src/include/timer.h')
-rw-r--r-- | src/include/timer.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/timer.h b/src/include/timer.h index 0105e32320..6b7baaf9fd 100644 --- a/src/include/timer.h +++ b/src/include/timer.h @@ -86,7 +86,7 @@ static inline void mono_time_add_msecs(struct mono_time *mt, long ms) /* Compare two absolute times: Return -1, 0, or 1 if t1 is <, =, or > t2, * respectively. */ static inline int mono_time_cmp(const struct mono_time *t1, - const struct mono_time *t2) + const struct mono_time *t2) { if (t1->microseconds == t2->microseconds) return 0; @@ -99,14 +99,14 @@ static inline int mono_time_cmp(const struct mono_time *t1, /* Return true if t1 after t2 */ static inline int mono_time_after(const struct mono_time *t1, - const struct mono_time *t2) + const struct mono_time *t2) { return mono_time_cmp(t1, t2) > 0; } /* Return true if t1 before t2. */ static inline int mono_time_before(const struct mono_time *t1, - const struct mono_time *t2) + const struct mono_time *t2) { return mono_time_cmp(t1, t2) < 0; } |