time: Address review comments.

* Use ENOSYS not B_DONT_DO_THAT (thanks korli)
 * Use unsigned long not uint64 (thanks axeld)
This commit is contained in:
Augustin Cavalier
2017-11-16 20:53:14 +01:00
parent 34a95923cd
commit 7d8eb4d7f9
3 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -373,8 +373,8 @@ extern status_t convert_to_pthread(thread_id thread, pthread_t *_thread);
/* Time */
extern uint32 real_time_clock(void);
extern void set_real_time_clock(uint64 secsSinceJan1st1970);
extern unsigned long real_time_clock(void);
extern void set_real_time_clock(unsigned long secsSinceJan1st1970);
extern bigtime_t real_time_clock_usecs(void);
extern bigtime_t system_time(void);
/* time since booting in microseconds */