aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--filters.c4
-rw-r--r--filters.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/filters.c b/filters.c
index 86f570c520..e8aa3cb33f 100644
--- a/filters.c
+++ b/filters.c
@@ -78,7 +78,7 @@ static GList *display_filters = NULL;
#define INIT_BUF_SIZE 128
void
-read_filter_list(filter_list_type_t list, const char **pref_path_return,
+read_filter_list(filter_list_type_t list, char **pref_path_return,
int *errno_return)
{
const char *ff_name;
@@ -423,7 +423,7 @@ remove_from_filter_list(filter_list_type_t list, GList *fl_entry)
* and "*errno_return" is set to the error.
*/
void
-save_filter_list(filter_list_type_t list, const char **pref_path_return,
+save_filter_list(filter_list_type_t list, char **pref_path_return,
int *errno_return)
{
const gchar *ff_name;
diff --git a/filters.h b/filters.h
index 239b775679..d059c8cc80 100644
--- a/filters.h
+++ b/filters.h
@@ -47,7 +47,7 @@ typedef struct {
* the file we tried to read - it should be freed by our caller -
* and "*errno_return" is set to the error.
*/
-void read_filter_list(filter_list_type_t list, const char **pref_path_return,
+void read_filter_list(filter_list_type_t list, char **pref_path_return,
int *errno_return);
/*
@@ -75,5 +75,5 @@ void remove_from_filter_list(filter_list_type_t list, GList *fl_entry);
* the file we tried to read - it should be freed by our caller -
* and "*errno_return" is set to the error.
*/
-void save_filter_list(filter_list_type_t list, const char **pref_path_return,
+void save_filter_list(filter_list_type_t list, char **pref_path_return,
int *errno_return);