summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-12-16 00:11:11 +0000
committerbde <bde@FreeBSD.org>1995-12-16 00:11:11 +0000
commit9f28e856714a08750a06cfe61671072870df468d (patch)
tree36460289cd0684882d1ca09092d8ba553cdd749a /sys
parent1e4a69fd03c183485b5597cc9c970265ab56fcad (diff)
downloadFreeBSD-src-9f28e856714a08750a06cfe61671072870df468d.zip
FreeBSD-src-9f28e856714a08750a06cfe61671072870df468d.tar.gz
Completed function declarations and/or added prototypes and/or added
#includes to get prototypes.
Diffstat (limited to 'sys')
-rw-r--r--sys/pccard/pccard.c2
-rw-r--r--sys/pccard/pcic.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/sys/pccard/pccard.c b/sys/pccard/pccard.c
index 6a4c1a1..87745e4 100644
--- a/sys/pccard/pccard.c
+++ b/sys/pccard/pccard.c
@@ -52,6 +52,7 @@
#include <i386/isa/icu.h>
#include <pccard/card.h>
+#include <pccard/driver.h>
#include <pccard/slot.h>
@@ -130,7 +131,6 @@ pccard_configure()
#include "pcic.h"
#if NPCIC > 0
{
- extern void pcic_probe(); /* XXX Should be linker set */
pcic_probe();
}
#endif
diff --git a/sys/pccard/pcic.c b/sys/pccard/pcic.c
index 97b5f24..0a0aa57 100644
--- a/sys/pccard/pcic.c
+++ b/sys/pccard/pcic.c
@@ -56,6 +56,7 @@
#include <pccard/i82365.h>
#include <pccard/card.h>
+#include <pccard/driver.h>
#include <pccard/slot.h>
extern struct kern_devconf kdc_pccard0;
@@ -83,9 +84,9 @@ static timeout_t pcic_reset;
static void pcic_disable __P((struct slot *));
static void pcic_mapirq __P((struct slot *, int));
static timeout_t pcictimeout;
+static int pcic_handle __P((struct lkm_table *lkmtp, int cmd));
static int pcic_memory(struct slot *, int);
static int pcic_io(struct slot *, int);
- int pcic_probe();
/*
* Per-slot data table.
OpenPOWER on IntegriCloud