]> git.pld-linux.org Git - packages/alsa-lib.git/blame - alsa-lib-gcc4.patch
- gcc4 fix.
[packages/alsa-lib.git] / alsa-lib-gcc4.patch
CommitLineData
fb0ff827
PS
1--- alsa-lib-1.0.8/src/pcm/pcm_dmix.c.orig 2005-01-11 18:42:49.000000000 +0100
2+++ alsa-lib-1.0.8/src/pcm/pcm_dmix.c 2005-05-03 14:47:10.000000000 +0200
3@@ -53,12 +53,13 @@
4 *
5 */
6
7+static int shm_sum_discard(snd_pcm_direct_t *dmix);
8+
9 /*
10 * sum ring buffer shared memory area
11 */
12 static int shm_sum_create_or_connect(snd_pcm_direct_t *dmix)
13 {
14- static int shm_sum_discard(snd_pcm_direct_t *dmix);
15 struct shmid_ds buf;
16 int tmpid, err;
17 size_t size;
18--- alsa-lib-1.0.8/src/conf.c.orig 2004-10-05 17:33:04.000000000 +0200
19+++ alsa-lib-1.0.8/src/conf.c 2005-05-03 14:53:20.000000000 +0200
20@@ -2494,9 +2494,11 @@
21 * specified by \p result.
22 * \return Zero if successful, otherwise a negative error code.
23 */
24+
25+static int snd_config_hooks(snd_config_t *config, snd_config_t *private_data);
26+
27 int snd_config_search_hooks(snd_config_t *config, const char *key, snd_config_t **result)
28 {
29- static int snd_config_hooks(snd_config_t *config, snd_config_t *private_data);
30 SND_CONFIG_SEARCH(config, key, result, \
31 err = snd_config_hooks(config, NULL); \
32 if (err < 0) \
33@@ -2516,7 +2518,6 @@
34 */
35 int snd_config_searcha_hooks(snd_config_t *root, snd_config_t *config, const char *key, snd_config_t **result)
36 {
37- static int snd_config_hooks(snd_config_t *config, snd_config_t *private_data);
38 SND_CONFIG_SEARCHA(root, config, key, result,
39 snd_config_searcha_hooks,
40 err = snd_config_hooks(config, NULL); \
This page took 0.051814 seconds and 4 git commands to generate.