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:
parent
bd91338246
commit
87c82334a7
@ -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;
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user