From: Andre Noll Date: Mon, 29 Jan 2007 22:12:00 +0000 (+0100) Subject: alsa_write.c: make alsa_parse_config() static and change parameter to const X-Git-Tag: v0.2.15~60 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=8aefcb8b3d49b51d7e32ab8e89b4a0014f067784;p=paraslash.git alsa_write.c: make alsa_parse_config() static and change parameter to const alsa_cmdline_parser_string() which is generated by gengetopt takes a const char *. --- diff --git a/alsa_write.c b/alsa_write.c index 4510b975..793d16b6 100644 --- 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));