diff options
author | Maria Matejka <mq@ucw.cz> | 2019-06-13 14:24:48 +0200 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2019-06-13 14:24:48 +0200 |
commit | 87c82334a77dfa3fea3057fa6d4bcf8558f203a4 (patch) | |
tree | 2ef8dc519bf1846cb776d7a1d660f024e25a4fa7 | |
parent | bd91338246c1ba40358243f1bdf5a6dbd3a29f35 (diff) |
Filter: removal of semantically insane consts in filter_commit
-rw-r--r-- | filter/filter.c | 2 | ||||
-rw-r--r-- | filter/filter.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/filter/filter.c b/filter/filter.c index 98df7bd0..77378178 100644 --- a/filter/filter.c +++ b/filter/filter.c @@ -680,7 +680,7 @@ filter_same(const struct filter *new, const struct filter *old) * filter_commit - do filter comparisons on all the named functions and filters */ void -filter_commit(const struct config *new, const struct config *old) +filter_commit(struct config *new, struct config *old) { if (!old) return; diff --git a/filter/filter.h b/filter/filter.h index d919cc74..36b63e7c 100644 --- a/filter/filter.h +++ b/filter/filter.h @@ -62,7 +62,7 @@ const char *filter_name(const struct filter *filter); int filter_same(const struct filter *new, const struct filter *old); int f_same(const struct f_line *f1, const struct f_line *f2); -void filter_commit(const struct config *new, const struct config *old); +void filter_commit(struct config *new, struct config *old); #define FILTER_ACCEPT NULL #define FILTER_REJECT ((void *) 1) |