changeset 8036:de379e6d6ca9

warning fixes
author henry
date Sat, 02 Nov 2002 10:59:27 +0000
parents 533e212cd282
children 204af38e3f20
files libao2/ao_alsa1x.c libao2/ao_alsa9.c
diffstat 2 files changed, 8 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libao2/ao_alsa1x.c	Sat Nov 02 05:42:11 2002 +0000
+++ b/libao2/ao_alsa1x.c	Sat Nov 02 10:59:27 2002 +0000
@@ -48,7 +48,7 @@
 static snd_pcm_format_t alsa_format;
 static snd_pcm_hw_params_t *alsa_hwparams;
 static snd_pcm_sw_params_t *alsa_swparams;
-const char *alsa_device;
+static char *alsa_device;
 
 /* possible 4096, original 8192 
  * was only needed for calculating chunksize? */
@@ -827,6 +827,9 @@
   return(1); /* ok, data should be accepted again */
 }
 
+static int play_normal(void* data, int len);
+static int play_mmap(void* data, int len);
+
 static int play(void* data, int len, int flags)
 {
   int result;
--- a/libao2/ao_alsa9.c	Sat Nov 02 05:42:11 2002 +0000
+++ b/libao2/ao_alsa9.c	Sat Nov 02 10:59:27 2002 +0000
@@ -48,7 +48,7 @@
 static snd_pcm_format_t alsa_format;
 static snd_pcm_hw_params_t *alsa_hwparams;
 static snd_pcm_sw_params_t *alsa_swparams;
-const char *alsa_device;
+static char *alsa_device;
 
 /* possible 4096, original 8192 
  * was only needed for calculating chunksize? */
@@ -827,6 +827,9 @@
   return(1); /* ok, data should be accepted again */
 }
 
+static int play_normal(void* data, int len);
+static int play_mmap(void* data, int len);
+
 static int play(void* data, int len, int flags)
 {
   int result;