Make the clock_now interface const

This commit is contained in:
Nils O. Selåsdal
2015-02-10 11:03:44 +01:00
parent f0c829a6c9
commit 617ba23c39
2 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ struct UCoreClock {
* Wrapper for getting the current time.
* @param tv timeval that will be filled in
*/
void (*now)(struct UCoreClock *clock, struct timeval *tv);
void (*now)(const struct UCoreClock *clock, struct timeval *tv);
};
/** Convenience macro for geting the time from a UCoreClock