]> git.alsa-project.org Git - alsa-lib.git/commitdiff
Small optimization
authorJaroslav Kysela <perex@perex.cz>
Fri, 27 Aug 2004 11:14:21 +0000 (11:14 +0000)
committerJaroslav Kysela <perex@perex.cz>
Fri, 27 Aug 2004 11:14:21 +0000 (11:14 +0000)
src/pcm/pcm_plug.c

index 82a6a5f55ea47a0aa323407e8508e6ca13f9445c..60eb2df03d8f10742e8f17dbce4d1db5430d0882 100644 (file)
@@ -551,7 +551,7 @@ static int snd_pcm_plug_insert_plugins(snd_pcm_t *pcm,
                                       snd_pcm_plug_params_t *slave)
 {
        snd_pcm_plug_t *plug = pcm->private_data;
-       int (*funcs[])(snd_pcm_t *_pcm, snd_pcm_t **new, snd_pcm_plug_params_t *s, snd_pcm_plug_params_t *d) = {
+       static int (*funcs[])(snd_pcm_t *_pcm, snd_pcm_t **new, snd_pcm_plug_params_t *s, snd_pcm_plug_params_t *d) = {
                snd_pcm_plug_change_format,
                snd_pcm_plug_change_channels,
                snd_pcm_plug_change_rate,