]> git.alsa-project.org Git - alsa-lib.git/commit
ucm: fix some variable constness issues
authorTanu Kaskinen <tanu.kaskinen@linux.intel.com>
Tue, 17 Feb 2015 19:15:23 +0000 (21:15 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 17 Feb 2015 21:16:00 +0000 (22:16 +0100)
commit567c831e6968fcd833eec8458da366dad183fd41
tree9876cf5364662fe475f80ff418a2ddbccac4c0d3
parenta102e66440c7579e9a82ee869b7dc7a53393e3df
ucm: fix some variable constness issues

I submitted earlier a patch that made the value parameter of
snd_use_case_get() non-const, but as that changed the public API, the
patch couldn't be accepted. This is the same patch, modifying the
internal code so that there are fewer issues with constness, but the
public API is left alone (a comment was added to the function
documentation, though, so that hopefully nobody else will try to fix
the same unfixable problem).

Signed-off-by: Tanu Kaskinen <tanu.kaskinen@linux.intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/use-case.h
src/ucm/main.c