diff options
author | mdodd <mdodd@FreeBSD.org> | 2003-03-25 04:29:26 +0000 |
---|---|---|
committer | mdodd <mdodd@FreeBSD.org> | 2003-03-25 04:29:26 +0000 |
commit | ac62ea46fc515e25874659c70e765453cdd4b672 (patch) | |
tree | 50f1eacd42d75e067b1a4554b4ba8a880f09a00c /lib/libatm/timer.c | |
parent | f74cd6a71b113eae1cf5d3760c7a6260d3e0de41 (diff) | |
download | FreeBSD-src-ac62ea46fc515e25874659c70e765453cdd4b672.zip FreeBSD-src-ac62ea46fc515e25874659c70e765453cdd4b672.tar.gz |
Fix warnings.
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); } |