diff options
| author | Matthew N. Dodd <mdodd@FreeBSD.org> | 2003-03-25 04:29:26 +0000 |
|---|---|---|
| committer | Matthew N. Dodd <mdodd@FreeBSD.org> | 2003-03-25 04:29:26 +0000 |
| commit | 619531d847efe4002679e480edba514ddbe2ad97 (patch) | |
| tree | 50f1eacd42d75e067b1a4554b4ba8a880f09a00c /lib/libatm/timer.c | |
| parent | 7ff910a94bf3b0ba9a6ef89370513aad6c3be9ee (diff) | |
Notes
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 898e2929a79e..1870e55c017b 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); } |
