From 6073486300a2c7430d184a9a41ad42bcb0c4345c Mon Sep 17 00:00:00 2001 From: bde Date: Sat, 4 Nov 1995 17:08:13 +0000 Subject: Added `#include "ioconf.h"' to and cleaned up the misplaced extern declarations (mostly prototypes of interrupt handlers) that this exposed. The prototypes should be moved back to the driver sources when the functions are staticalized. Added idempotency guards to . "ioconf.h" can't be included when building LKMs so define a wart in bsd.kmod.mk to help guard against including it. --- sys/dev/sio/sio.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'sys/dev/sio/sio.c') diff --git a/sys/dev/sio/sio.c b/sys/dev/sio/sio.c index 18d7a45..2337ea3 100644 --- a/sys/dev/sio/sio.c +++ b/sys/dev/sio/sio.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * from: @(#)com.c 7.5 (Berkeley) 5/16/91 - * $Id: sio.c,v 1.115 1995/10/22 15:38:05 bde Exp $ + * $Id: sio.c,v 1.116 1995/11/04 13:23:43 bde Exp $ */ #include "sio.h" @@ -251,8 +251,7 @@ struct com_s { */ /* Interrupt handling entry points. */ -void siointr __P((int unit)); -void siointrts __P((int unit)); +inthand2_t siointrts; void siopoll __P((void)); /* Device switch entry points. */ -- cgit v1.1