summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/wt.c
diff options
context:
space:
mode:
authorrgrimes <rgrimes@FreeBSD.org>1994-05-27 04:02:10 +0000
committerrgrimes <rgrimes@FreeBSD.org>1994-05-27 04:02:10 +0000
commitf94dafd1d8472a7400f60d2f2770b879f1ccd605 (patch)
tree31cd7b235e375356e6a252ccf13bbc4979c8cb67 /sys/i386/isa/wt.c
parent858ff2f517de2938bb4195de9f765a07aeb32007 (diff)
downloadFreeBSD-src-f94dafd1d8472a7400f60d2f2770b879f1ccd605.zip
FreeBSD-src-f94dafd1d8472a7400f60d2f2770b879f1ccd605.tar.gz
Cast arguments to timeout() to quite compiler warnings. Should we
change all of these to be timeout_funt_t and remove the casts and typedef? Remove secound argument (uban) from ifp->if_reset routines since it is now obsolete. Reviewed by: David Greenman
Diffstat (limited to 'sys/i386/isa/wt.c')
-rw-r--r--sys/i386/isa/wt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/i386/isa/wt.c b/sys/i386/isa/wt.c
index 5ed78a2..21a6ed9 100644
--- a/sys/i386/isa/wt.c
+++ b/sys/i386/isa/wt.c
@@ -773,7 +773,7 @@ static void wtclock (wtinfo_t *t)
t->flags |= TPTIMER;
/* Some controllers seem to lose dma interrupts too often.
* To make the tape stream we need 1 tick timeout. */
- timeout (wtimer, (caddr_t)t, (t->flags & TPACTIVE) ? 1 : hz);
+ timeout ((timeout_func_t)wtimer, (caddr_t)t, (t->flags & TPACTIVE) ? 1 : hz);
}
}
OpenPOWER on IntegriCloud