summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/i386/isa/sound/sb_dsp.c1
-rw-r--r--sys/i386/isa/sound/uart6850.c7
2 files changed, 5 insertions, 3 deletions
diff --git a/sys/i386/isa/sound/sb_dsp.c b/sys/i386/isa/sound/sb_dsp.c
index 47e93b2..f9d38e7 100644
--- a/sys/i386/isa/sound/sb_dsp.c
+++ b/sys/i386/isa/sound/sb_dsp.c
@@ -105,6 +105,7 @@ static void sb_dsp_reset(int dev);
sound_os_info *sb_osp = NULL;
#if defined(CONFIG_MIDI) || defined(CONFIG_AUDIO)
+void dsp_speaker(char state);
/*
* Common code for the midi and pcm functions
diff --git a/sys/i386/isa/sound/uart6850.c b/sys/i386/isa/sound/uart6850.c
index c9d5c39..e978fc7 100644
--- a/sys/i386/isa/sound/uart6850.c
+++ b/sys/i386/isa/sound/uart6850.c
@@ -60,7 +60,8 @@ static int my_dev;
static int reset_uart6850(void);
static void (*midi_input_intr) (int dev, u_char data);
-static void poll_uart6850(u_long dummy);
+static void poll_uart6850(void *dummy);
+
static sound_os_info *uart6850_osp;
@@ -97,7 +98,7 @@ m6850intr(int irq)
*/
static void
-poll_uart6850(u_long dummy)
+poll_uart6850(void * dummy)
{
u_long flags;
@@ -110,7 +111,7 @@ poll_uart6850(u_long dummy)
uart6850_input_loop();
- timeout((timeout_func_t) poll_uart6850, 0, 1);; /* Come back later */
+ timeout( poll_uart6850, 0, 1); /* Come back later */
splx(flags);
}
OpenPOWER on IntegriCloud