mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-04 13:30:08 -05:00
Make all the PCM plugins ops structure constant.
This ensures they are emitted in .data.rel.ro rather than .data.rel, which should make a nice difference when using prelink. Signed-off-by: Diego E. 'Flameeyes' Pettenò <flameeyes@gmail.com>
This commit is contained in:
parent
1f734e3058
commit
8b14625cc3
30 changed files with 49 additions and 49 deletions
|
|
@ -405,7 +405,7 @@ static void linear_close(void *obj)
|
|||
free(obj);
|
||||
}
|
||||
|
||||
static snd_pcm_rate_ops_t linear_ops = {
|
||||
static const snd_pcm_rate_ops_t linear_ops = {
|
||||
.close = linear_close,
|
||||
.init = linear_init,
|
||||
.free = linear_free,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue