]> git.alsa-project.org Git - alsa-lib.git/commit
Make seq, rawmidi and control operation structures static const.
authorDiego E. 'Flameeyes' Pettenò <flameeyes@gmail.com>
Fri, 21 Nov 2008 19:26:12 +0000 (20:26 +0100)
committerDiego E. 'Flameeyes' Pettenò <flameeyes@gmail.com>
Fri, 21 Nov 2008 19:28:38 +0000 (20:28 +0100)
commit228932667366b627fb86733741eafa5df775fa47
tree58cfcc86af283d559b7ca5921a3a0e21f1eacb53
parent8ed98db2590e284dd7ca884135c91566fee6069c
Make seq, rawmidi and control operation structures static const.

Since they are never changed it does not make sense to have them in
the writeable .data section, just make sure to add const to the ops
member in the structure definitions so that there are no extra
warnings added.

Signed-off-by: Diego E. 'Flameeyes' Pettenò <flameeyes@gmail.com>
src/control/control_hw.c
src/control/control_local.h
src/control/control_shm.c
src/rawmidi/rawmidi_hw.c
src/rawmidi/rawmidi_local.h
src/rawmidi/rawmidi_virt.c
src/seq/seq_hw.c
src/seq/seq_local.h