aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/sio
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1995-11-04 17:08:13 +0000
committerBruce Evans <bde@FreeBSD.org>1995-11-04 17:08:13 +0000
commit4ff3de8e80ba043f8693c6623c38c6506f113261 (patch)
treea314bfc13d707ab8df235edc500e88916380d16d /sys/dev/sio
parentaff85b53857af77bf2a134234a45fc60d944d6d4 (diff)
downloadsrc-4ff3de8e80ba043f8693c6623c38c6506f113261.tar.gz
src-4ff3de8e80ba043f8693c6623c38c6506f113261.zip
Added `#include "ioconf.h"' to <machine/conf.h> 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 <machine/conf.h>. "ioconf.h" can't be included when building LKMs so define a wart in bsd.kmod.mk to help guard against including it.
Notes
Notes: svn path=/head/; revision=12080
Diffstat (limited to 'sys/dev/sio')
-rw-r--r--sys/dev/sio/sio.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/sio/sio.c b/sys/dev/sio/sio.c
index 18d7a452fe2d..2337ea306f0f 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. */