Add clock test, and fix ucore_clock.h header

This commit is contained in:
Nils O. Selåsdal
2013-03-02 18:39:52 +01:00
parent aaae376d13
commit a6d8d56052
3 changed files with 83 additions and 3 deletions
+2 -2
View File
@@ -84,7 +84,7 @@ void ucore_settable_clock_init(struct ucore_settable_clock *clock);
/**
* Set the new timeval this clock will return
**/
void ucore_cached_clock_set_tv(struct ucore_settable_clock *clock,
void ucore_settable_clock_set_tv(struct ucore_settable_clock *clock,
const struct timeval *tv);
/**
@@ -92,7 +92,7 @@ void ucore_cached_clock_set_tv(struct ucore_settable_clock *clock,
* Convenience function that takes seconds/microseconds as arguments
* instead of a struct timeval.
**/
void ucore_cached_clock_set(struct ucore_settable_clock *clock,
void ucore_settable_clock_set(struct ucore_settable_clock *clock,
time_t secs, suseconds_t usecs);
#endif