diff options
author | bde <bde@FreeBSD.org> | 1998-06-17 16:54:22 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-06-17 16:54:22 +0000 |
commit | 70674f0276b68f0b5c33553f91ae618e192ba534 (patch) | |
tree | 8050dcbe8a64f3fe14bd339dbc27f4e49141734a /sys/i386/isa/snd | |
parent | 149a7bbdfc706672d4e0e113815007bacc2b76ce (diff) | |
download | FreeBSD-src-70674f0276b68f0b5c33553f91ae618e192ba534.zip FreeBSD-src-70674f0276b68f0b5c33553f91ae618e192ba534.tar.gz |
Don't depend on <sys/conf.h> declaring isa device structs or isa
interrupt handlers. pcm is not in LINT, so it is hard to test.
Diffstat (limited to 'sys/i386/isa/snd')
-rw-r--r-- | sys/i386/isa/snd/sound.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/i386/isa/snd/sound.c b/sys/i386/isa/snd/sound.c index 7257715..2e86e20 100644 --- a/sys/i386/isa/snd/sound.c +++ b/sys/i386/isa/snd/sound.c @@ -57,8 +57,9 @@ #include <sys/devfsext.h> #endif /* DEVFS */ +#if NPCM > 0 /* from "pcm.h" via disgusting #include in snd/sound.h */ -#if NPCM > 0 /* from "snd.h" */ +extern struct isa_driver pcmdriver; #define SNDSTAT_BUF_SIZE 4000 static char status_buf[SNDSTAT_BUF_SIZE] ; |