]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
file_write.c: make file_write_parse_config() static and change arg to const char*
authorAndre Noll <maan@systemlinux.org>
Mon, 29 Jan 2007 22:16:36 +0000 (23:16 +0100)
committerAndre Noll <maan@systemlinux.org>
Mon, 29 Jan 2007 22:16:36 +0000 (23:16 +0100)
Same comment as for the previous patch to alsa_write.c applies.

file_write.c

index 2163b7a91109980936133a5336d22673bba201dc..202152648463af43de0c826e0a1b7448c370ef96 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (C) 2006 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2006-2007 Andre Noll <maan@systemlinux.org>
  *
  *     This program is free software; you can redistribute it and/or modify
  *     it under the terms of the GNU General Public License as published by
  *
  *     This program is free software; you can redistribute it and/or modify
  *     it under the terms of the GNU General Public License as published by
@@ -102,7 +102,7 @@ static void file_write_close(struct writer_node *wn)
        free(pfwd);
 }
 
        free(pfwd);
 }
 
-__malloc void *file_write_parse_config(char *options)
+__malloc static void *file_write_parse_config(const char *options)
 {
        PARA_INFO_LOG("options: %s\n", options);
        struct file_write_args_info *conf
 {
        PARA_INFO_LOG("options: %s\n", options);
        struct file_write_args_info *conf