summaryrefslogtreecommitdiff
path: root/i386
diff options
context:
space:
mode:
Diffstat (limited to 'i386')
-rw-r--r--i386/i386at/autoconf.c8
-rw-r--r--i386/i386at/conf.c2
-rw-r--r--i386/i386at/pic_isa.c4
3 files changed, 7 insertions, 7 deletions
diff --git a/i386/i386at/autoconf.c b/i386/i386at/autoconf.c
index 48e1278..05988a6 100644
--- a/i386/i386at/autoconf.c
+++ b/i386/i386at/autoconf.c
@@ -49,12 +49,12 @@
#if NCOM > 0
extern struct bus_driver comdriver;
-extern int comintr();
+extern void comintr();
#endif /* NCOM */
#if NLPR > 0
extern struct bus_driver lprdriver;
-extern int lprintr();
+extern void lprintr();
#endif /* NLPR */
struct bus_ctlr bus_master_init[] = {
@@ -62,7 +62,7 @@ struct bus_ctlr bus_master_init[] = {
/* driver name unit intr address len phys_address
adaptor alive flags spl pic */
- 0
+ {0}
};
@@ -91,7 +91,7 @@ struct bus_device bus_device_init[] = {
#endif /* NLPR > 0 */
#endif /* MACH_LPR */
- 0
+ {0}
};
/*
diff --git a/i386/i386at/conf.c b/i386/i386at/conf.c
index eee218a..23c2a6f 100644
--- a/i386/i386at/conf.c
+++ b/i386/i386at/conf.c
@@ -75,7 +75,7 @@ struct dev_ops dev_name_list[] =
cninit() we stick something appropriate here through the
indirect list */
{ "cn", nulldev, nulldev, nulldev,
- nulldev, nulldev, nulldev, nulldev,
+ nulldev, nulldev, nulldev, nomap,
nodev, nulldev, nulldev, 0,
nodev },
diff --git a/i386/i386at/pic_isa.c b/i386/i386at/pic_isa.c
index 07b48a7..811ee1c 100644
--- a/i386/i386at/pic_isa.c
+++ b/i386/i386at/pic_isa.c
@@ -30,8 +30,8 @@
/* These interrupts are always present */
-extern intnull(), fpintr(), hardclock(), kdintr();
-extern prtnull();
+extern void intnull(), fpintr(), hardclock(), kdintr();
+extern void prtnull();
void (*ivect[NINTR])() = {
/* 00 */ hardclock, /* always */