From: Andre Noll Date: Mon, 29 Jan 2007 22:29:31 +0000 (+0100) Subject: check_writer_arg(): change writer arg to const char * X-Git-Tag: v0.2.15~56 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=b2c352332d341e23580cb67b5ae2c6ff0a9224ae check_writer_arg(): change writer arg to const char * --- diff --git a/write.h b/write.h index 63efbfed..9f236634 100644 --- a/write.h +++ b/write.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2006 Andre Noll + * Copyright (C) 2006-2007 Andre Noll * * 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 diff --git a/write_common.c b/write_common.c index acf1d292..b1ab00cf 100644 --- a/write_common.c +++ b/write_common.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2006 Andre Noll + * Copyright (C) 2006-2007 Andre Noll * * 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;