From e34af1091c2a425d01698055f7065e5e0d61abec Mon Sep 17 00:00:00 2001 From: bde Date: Sun, 20 Apr 1997 15:25:33 +0000 Subject: Fixed inconsistent extern declaration of a timeout function and removed a cast that helped hide the problem. There was no problem in practice (at least on 386's). --- sys/i386/isa/if_cx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/i386/isa/if_cx.c') 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: \n", unit, b->name); #ifdef DEVFS -- cgit v1.1