summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/if_cx.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/i386/isa/if_cx.c')
-rw-r--r--sys/i386/isa/if_cx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/isa/if_cx.c b/sys/i386/isa/if_cx.c
index 991d290..d57480b 100644
--- a/sys/i386/isa/if_cx.c
+++ b/sys/i386/isa/if_cx.c
@@ -86,7 +86,7 @@ static void cxinput (cx_chan_t *c, void *buf, unsigned len);
extern int cxrinta (cx_chan_t *c);
extern void cxtinta (cx_chan_t *c);
extern void cxmint (cx_chan_t *c);
-extern void cxtimeout (caddr_t a);
+extern timeout_t cxtimeout;
static void cxdown (cx_chan_t *c);
static void cxup (cx_chan_t *c);
@@ -288,7 +288,7 @@ cxattach (struct isa_device *id)
/* Activate the timeout routine. */
if (unit == 0)
- timeout ((timeout_func_t) cxtimeout, 0, hz*5);
+ timeout (cxtimeout, 0, hz*5);
printf ("cx%d: <Cronyx-%s>\n", unit, b->name);
#ifdef DEVFS
OpenPOWER on IntegriCloud