Don't shadow the global clock function
This commit is contained in:
@@ -66,12 +66,12 @@ extern struct ucore_clock ucore_time_clock;
|
||||
* This clock will this just have seconds resolution.
|
||||
* @param clock clock to initialize
|
||||
*/
|
||||
void ucore_cached_clock_init(struct ucore_cached_clock *clock,
|
||||
void ucore_cached_clock_init(struct ucore_cached_clock *uclock,
|
||||
struct ucore_clock *real_clock);
|
||||
|
||||
/** Update the cached clock from the real_clock
|
||||
*/
|
||||
void ucore_cached_clock_update(struct ucore_cached_clock *clock);
|
||||
void ucore_cached_clock_update(struct ucore_cached_clock *uclock);
|
||||
|
||||
|
||||
/**
|
||||
@@ -79,12 +79,12 @@ void ucore_cached_clock_update(struct ucore_cached_clock *clock);
|
||||
* This clock will this just have seconds resolution.
|
||||
* @param clock clock to initialize
|
||||
*/
|
||||
void ucore_settable_clock_init(struct ucore_settable_clock *clock);
|
||||
void ucore_settable_clock_init(struct ucore_settable_clock *uclock);
|
||||
|
||||
/**
|
||||
* Set the new timeval this clock will return
|
||||
**/
|
||||
void ucore_settable_clock_set_tv(struct ucore_settable_clock *clock,
|
||||
void ucore_settable_clock_set_tv(struct ucore_settable_clock *uclock,
|
||||
const struct timeval *tv);
|
||||
|
||||
/**
|
||||
@@ -92,7 +92,7 @@ void ucore_settable_clock_set_tv(struct ucore_settable_clock *clock,
|
||||
* Convenience function that takes seconds/microseconds as arguments
|
||||
* instead of a struct timeval.
|
||||
**/
|
||||
void ucore_settable_clock_set(struct ucore_settable_clock *clock,
|
||||
void ucore_settable_clock_set(struct ucore_settable_clock *uclock,
|
||||
time_t secs, suseconds_t usecs);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user