diff options
author | gpalmer <gpalmer@FreeBSD.org> | 1996-04-06 01:16:19 +0000 |
---|---|---|
committer | gpalmer <gpalmer@FreeBSD.org> | 1996-04-06 01:16:19 +0000 |
commit | c3be8da3c6e2e6233cfde0a5d81bbf0a2c4093f9 (patch) | |
tree | 660d87e6bef57db79c6d5aa394056eaa7b0b64e4 /sys/pccard | |
parent | 8c881f139a10b8e4b476c7eb3b080107675722b8 (diff) | |
download | FreeBSD-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/pccard')
-rw-r--r-- | sys/pccard/pccard.c | 1 | ||||
-rw-r--r-- | sys/pccard/pcic.c | 2 |
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); |