From: Takashi Iwai Date: Tue, 22 Mar 2005 18:49:07 +0000 (+0000) Subject: Fix compilation with gcc-4.0 X-Git-Tag: v1.0.9rc2~1 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=248d0b285c67a2cab96b08c0a4f4436bff364d8d;p=alsa-lib.git Fix compilation with gcc-4.0 Fixed compilation with gcc-4.0 --- diff --git a/src/pcm/pcm_dmix.c b/src/pcm/pcm_dmix.c index 415f75ea..a913c335 100644 --- a/src/pcm/pcm_dmix.c +++ b/src/pcm/pcm_dmix.c @@ -53,12 +53,13 @@ const char *_snd_module_pcm_dmix = ""; * */ +static int shm_sum_discard(snd_pcm_direct_t *dmix); + /* * sum ring buffer shared memory area */ static int shm_sum_create_or_connect(snd_pcm_direct_t *dmix) { - static int shm_sum_discard(snd_pcm_direct_t *dmix); struct shmid_ds buf; int tmpid, err; size_t size;