projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0da660b
)
alsa_write.c: make alsa_parse_config() static and change parameter to const
author
Andre Noll
<maan@systemlinux.org>
Mon, 29 Jan 2007 22:12:00 +0000
(23:12 +0100)
committer
Andre Noll
<maan@systemlinux.org>
Mon, 29 Jan 2007 22:12:00 +0000
(23:12 +0100)
alsa_cmdline_parser_string() which is generated by gengetopt takes a const
char *.
alsa_write.c
patch
|
blob
|
history
diff --git
a/alsa_write.c
b/alsa_write.c
index 4510b975c6fe8d8a832995e84095bc45aaea8794..793d16b65a6e2006a4eb1f0b8018d9eb35ca53a8 100644
(file)
--- a/
alsa_write.c
+++ b/
alsa_write.c
@@
-212,7
+212,7
@@
static void alsa_close(struct writer_node *wn)
free(pad);
}
-__malloc
void *alsa_parse_config(
char *options)
+__malloc
static void *alsa_parse_config(const
char *options)
{
struct alsa_write_args_info *conf
= para_calloc(sizeof(struct alsa_write_args_info));