Re: [PATCH] rule: Constify rule iterators

2016-08-09 Thread Pablo Neira Ayuso
On Mon, Aug 08, 2016 at 08:10:16PM +0200, Carlos Falgueras García wrote: > Iterators do not modify objects which they iterate, so input pointer must > be const. Please, constify other iterators: chain, set, set_elem, table, and so on. So we get this code in sync too. Thanks. -- To unsubscribe fro

[PATCH] rule: Constify rule iterators

2016-08-08 Thread Carlos Falgueras García
Iterators do not modify objects which they iterate, so input pointer must be const. Signed-off-by: Carlos Falgueras García --- include/libnftnl/rule.h | 8 src/rule.c | 8 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/include/libnftnl/rule.h b/incl