]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
check_writer_arg(): change writer arg to const char *
authorAndre Noll <maan@systemlinux.org>
Mon, 29 Jan 2007 22:29:31 +0000 (23:29 +0100)
committerAndre Noll <maan@systemlinux.org>
Mon, 29 Jan 2007 22:29:31 +0000 (23:29 +0100)
write.h
write_common.c

diff --git a/write.h b/write.h
index 63efbfed4d381a94783bf7749a4547ba7151099e..9f23663413603d67b7b147763116dc77f2bd210d 100644 (file)
--- a/write.h
+++ b/write.h
@@ -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
@@ -60,7 +60,7 @@ struct writer {
         * more than once with different values of \a options.
         *
         */
-               void * (*parse_config)(char *options);
+               void * (*parse_config)(const char *options);
        /**
         *
         * open one instance of this writer
index acf1d292a4a33ed8ed7ef2649382c9a2c3f4a3e8..b1ab00cfa97ca9c991396a76a4fc4964eb169232 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
@@ -149,7 +149,7 @@ void init_supported_writers(void)
                writers[i].init(&writers[i]);
 }
 
-void *check_writer_arg(char *wa, int *writer_num)
+void *check_writer_arg(const char *wa, int *writer_num)
 {
        int i;