--- Gnu-Mach/kern/mach_clock.h 2020/09/02 04:45:18 1.1 +++ Gnu-Mach/kern/mach_clock.h 2020/09/02 04:47:35 1.1.1.2 @@ -29,6 +29,10 @@ #include #include #include +#include + +struct io_req; +typedef struct io_req *io_req_t; /* Timers in kernel. */ @@ -102,6 +106,9 @@ extern void mapable_time_init (void); /* For public timer elements. */ extern void timeout(timer_func_t *fcn, void *param, int interval); -extern boolean_t untimeout(timer_func_t *fcn, void *param); +extern boolean_t untimeout(timer_func_t *fcn, const void *param); + +extern int timeopen(dev_t dev, int flag, io_req_t ior); +extern void timeclose(dev_t dev, int flag); #endif /* _KERN_MACH_CLOCK_H_ */