summaryrefslogtreecommitdiff
path: root/kern
diff options
context:
space:
mode:
Diffstat (limited to 'kern')
-rw-r--r--kern/mach_clock.c4
-rw-r--r--kern/mach_clock.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/kern/mach_clock.c b/kern/mach_clock.c
index 781101b..2c7969e 100644
--- a/kern/mach_clock.c
+++ b/kern/mach_clock.c
@@ -528,8 +528,8 @@ timer_elt_data_t timeout_timers[NTIMERS];
* interval: timeout interval, in hz.
*/
void timeout(fcn, param, interval)
- int (*fcn)(/* char * param */);
- char * param;
+ int (*fcn)( void * param );
+ void * param;
int interval;
{
spl_t s;
diff --git a/kern/mach_clock.h b/kern/mach_clock.h
index 93237aa..4e8b83e 100644
--- a/kern/mach_clock.h
+++ b/kern/mach_clock.h
@@ -99,7 +99,7 @@ extern kern_return_t host_adjust_time(
extern void mapable_time_init (void);
/* For public timer elements. */
-extern void timeout(int (*fcn)(), char *param, int interval);
+extern void timeout(int (*fcn)(void *), void *param, int interval);
extern boolean_t untimeout(int (*fcn)(), char *param);
#endif /* _KERN_MACH_CLOCK_H_ */