]> git.alsa-project.org Git - alsa-lib.git/commit
snd_pcm_scope_set_ops: make ops parameter const
authorClemens Ladisch <clemens@ladisch.de>
Mon, 10 Aug 2009 08:08:25 +0000 (10:08 +0200)
committerClemens Ladisch <clemens@ladisch.de>
Mon, 10 Aug 2009 08:08:25 +0000 (10:08 +0200)
commit2905af225fda5f2a4281098e62e4117571f8de0b
treed5583275be275d205bb91e7b5dbe9de9fc6d6e02
parent79345b523e8e2b5a7c9e375e5755dfbc4ce6e723
snd_pcm_scope_set_ops: make ops parameter const

The contents of the snd_pcm_scope_ops structure are not going to be
changed, so we might as well declare is as constant.  This change is
backwards compatible, and avoids warnings if some ops structure is
actually defined as const.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
include/pcm.h
src/pcm/pcm_meter.c