]> git.tue.mpg.de Git - paraslash.git/commitdiff
alsa_write.c: make alsa_parse_config() static and change parameter to const
authorAndre Noll <maan@systemlinux.org>
Mon, 29 Jan 2007 22:12:00 +0000 (23:12 +0100)
committerAndre 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

index 4510b975c6fe8d8a832995e84095bc45aaea8794..793d16b65a6e2006a4eb1f0b8018d9eb35ca53a8 100644 (file)
@@ -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));