0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-11-08 12:18:42 +00:00

Filter: removal of semantically insane consts in filter_commit

This commit is contained in:
Maria Matejka 2019-06-13 14:24:48 +02:00
parent bd91338246
commit 87c82334a7
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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)