From b2c352332d341e23580cb67b5ae2c6ff0a9224ae Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Mon, 29 Jan 2007 23:29:31 +0100 Subject: [PATCH] check_writer_arg(): change writer arg to const char * --- write.h | 4 ++-- write_common.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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; -- 2.39.2