--- src/pcm/pcm_dmix.c~ 2005-01-11 18:42:49.000000000 +0100 +++ src/pcm/pcm_dmix.c 2005-01-23 13:06:51.000000000 +0100 @@ -56,9 +56,9 @@ /* * sum ring buffer shared memory area */ +static int shm_sum_discard(snd_pcm_direct_t *dmix); 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; --- src/conf.c~ 2004-10-05 17:33:04.000000000 +0200 +++ src/conf.c 2005-01-23 13:11:51.000000000 +0100 @@ -2494,9 +2494,9 @@ * specified by \p result. * \return Zero if successful, otherwise a negative error code. */ +static int snd_config_hooks(snd_config_t *config, snd_config_t *private_data); int snd_config_search_hooks(snd_config_t *config, const char *key, snd_config_t **result) { - static int snd_config_hooks(snd_config_t *config, snd_config_t *private_data); SND_CONFIG_SEARCH(config, key, result, \ err = snd_config_hooks(config, NULL); \ if (err < 0) \ --- src/conf.c~ 2005-01-23 13:11:51.000000000 +0100 +++ src/conf.c 2005-01-23 13:18:19.000000000 +0100 @@ -2514,9 +2514,9 @@ * specified by \p result. * \return Zero if successful, otherwise a negative error code. */ +static int snd_config_hooks(snd_config_t *config, snd_config_t *private_data); int snd_config_searcha_hooks(snd_config_t *root, snd_config_t *config, const char *key, snd_config_t **result) { - static int snd_config_hooks(snd_config_t *config, snd_config_t *private_data); SND_CONFIG_SEARCHA(root, config, key, result, snd_config_searcha_hooks, err = snd_config_hooks(config, NULL); \