Make the clock_now interface const
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user