Re: [PATCH, v2] Constify iterators

2016-08-10 Thread Pablo Neira Ayuso
On Tue, Aug 09, 2016 at 01:42:17PM +0200, Carlos Falgueras García wrote: > Iterators do not modify objects which they iterate, so input pointer must > be const. Applied, thanks! -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to

[PATCH, v2] Constify iterators

2016-08-09 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/chain.h | 4 ++-- include/libnftnl/rule.h | 8 include/libnftnl/set.h | 16