mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-03 09:01:52 -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
|
|
@ -560,7 +560,7 @@ static int snd_pcm_plugin_status(snd_pcm_t *pcm, snd_pcm_status_t * status)
|
|||
return 0;
|
||||
}
|
||||
|
||||
snd_pcm_fast_ops_t snd_pcm_plugin_fast_ops = {
|
||||
const snd_pcm_fast_ops_t snd_pcm_plugin_fast_ops = {
|
||||
.status = snd_pcm_plugin_status,
|
||||
.state = snd_pcm_generic_state,
|
||||
.hwsync = snd_pcm_generic_hwsync,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue