From 8aefcb8b3d49b51d7e32ab8e89b4a0014f067784 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Mon, 29 Jan 2007 23:12:00 +0100 Subject: [PATCH] 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 *. --- alsa_write.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); -- 2.39.5