From 68f7a74b48ae3d7bb6944114a1125d0a23a4a891 Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Sun, 20 Apr 1997 15:25:33 +0000 Subject: [PATCH] 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(-) diff --git a/sys/i386/isa/if_cx.c b/sys/i386/isa/if_cx.c index 991d29049cf..d57480b459f 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