mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-05 13:30:00 -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
|
|
@ -223,8 +223,8 @@ struct _snd_pcm {
|
|||
snd_pcm_channel_info_t *mmap_channels;
|
||||
snd_pcm_channel_area_t *running_areas;
|
||||
snd_pcm_channel_area_t *stopped_areas;
|
||||
snd_pcm_ops_t *ops;
|
||||
snd_pcm_fast_ops_t *fast_ops;
|
||||
const snd_pcm_ops_t *ops;
|
||||
const snd_pcm_fast_ops_t *fast_ops;
|
||||
snd_pcm_t *op_arg;
|
||||
snd_pcm_t *fast_op_arg;
|
||||
void *private_data;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue