summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorgpalmer <gpalmer@FreeBSD.org>1996-04-06 01:16:19 +0000
committergpalmer <gpalmer@FreeBSD.org>1996-04-06 01:16:19 +0000
commitc3be8da3c6e2e6233cfde0a5d81bbf0a2c4093f9 (patch)
tree660d87e6bef57db79c6d5aa394056eaa7b0b64e4 /sys
parent8c881f139a10b8e4b476c7eb3b080107675722b8 (diff)
downloadFreeBSD-src-c3be8da3c6e2e6233cfde0a5d81bbf0a2c4093f9.zip
FreeBSD-src-c3be8da3c6e2e6233cfde0a5d81bbf0a2c4093f9.tar.gz
pccard.c:
#include <i386/include/clock.h> to get sysbeep() prototype pcic.c: add appropriate #ifdef around a prototype to quiet GCC because fn decl. is also #ifdef'd.
Diffstat (limited to 'sys')
-rw-r--r--sys/pccard/pccard.c1
-rw-r--r--sys/pccard/pcic.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/sys/pccard/pccard.c b/sys/pccard/pccard.c
index f993be7..a803e8c 100644
--- a/sys/pccard/pccard.c
+++ b/sys/pccard/pccard.c
@@ -50,6 +50,7 @@
#include <i386/isa/isa.h>
#include <i386/isa/isa_device.h>
#include <i386/isa/icu.h>
+#include <i386/include/clock.h>
#include <pccard/card.h>
#include <pccard/driver.h>
diff --git a/sys/pccard/pcic.c b/sys/pccard/pcic.c
index c4c75c3..af33749 100644
--- a/sys/pccard/pcic.c
+++ b/sys/pccard/pcic.c
@@ -86,7 +86,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;
+#ifdef LKM
static int pcic_handle __P((struct lkm_table *lkmtp, int cmd));
+#endif
static int pcic_memory(struct slot *, int);
static int pcic_io(struct slot *, int);
OpenPOWER on IntegriCloud