OSDN Git Service
(root)
/
android-x86
/
external-alsa-lib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58d10c0
)
ucm: Add const to execute_cset() argument
author
Takashi Iwai
<tiwai@suse.de>
Fri, 10 Aug 2012 12:19:17 +0000
(14:19 +0200)
committer
Takashi Iwai
<tiwai@suse.de>
Fri, 10 Aug 2012 12:19:17 +0000
(14:19 +0200)
Now with the previous rewrite of execute_cset(), the cset string is no
longer modified, thus we can pass const safely.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
src/ucm/main.c
patch
|
blob
|
history
diff --git
a/src/ucm/main.c
b/src/ucm/main.c
index
bd5c348
..
0d7d841
100644
(file)
--- a/
src/ucm/main.c
+++ b/
src/ucm/main.c
@@
-163,7
+163,7
@@
extern int __snd_ctl_ascii_elem_id_parse(snd_ctl_elem_id_t *dst,
const char *str,
const char **ret_ptr);
-static int execute_cset(snd_ctl_t *ctl, char *cset)
+static int execute_cset(snd_ctl_t *ctl, c
onst c
har *cset)
{
const char *pos;
int err;