diff options
Diffstat (limited to 'lib/libatm/timer.c')
-rw-r--r-- | lib/libatm/timer.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libatm/timer.c b/lib/libatm/timer.c index 898e292..1870e55 100644 --- a/lib/libatm/timer.c +++ b/lib/libatm/timer.c @@ -72,7 +72,7 @@ int harp_timer_exec; * */ static void -timer_tick() +timer_tick(void) { /* * Bump the timer flag @@ -96,10 +96,10 @@ timer_tick() * */ void -timer_proc() +timer_proc(void) { Harp_timer *htp; - void (*f)(); + void (*f)(Harp_timer *); /* * Reset marks in all timers on the queue @@ -188,7 +188,7 @@ init_timer() /* * Set up signal handler */ - if (signal(SIGALRM, timer_tick) == SIG_ERR) { + if (signal(SIGALRM, (sig_t)timer_tick) == SIG_ERR) { return(errno); } |