Don't shadow the global clock function

This commit is contained in:
Nils O. Selåsdal
2013-03-02 18:45:32 +01:00
parent a6d8d56052
commit 9f22f7153b
2 changed files with 26 additions and 26 deletions
+5 -5
View File
@@ -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