]> git.ipfire.org Git - thirdparty/libnftnl.git/commit
src: fully constify nft_*_get functions
authorPablo Neira Ayuso <pablo@netfilter.org>
Tue, 6 Aug 2013 09:36:54 +0000 (11:36 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 6 Aug 2013 09:42:13 +0000 (11:42 +0200)
commitec75831c439ebd3475e0ba6766188d963538129a
tree399708dbe2dac766c27093c348e792e22d04ddc0
parent99d25746b94b602f7b0f2381b73e0f52d11fca31
src: fully constify nft_*_get functions

We have several char * field that were not constify to avoid
gcc compilation warnings when calling free. Since (99d2574 src:
add xfree and use it), we can fully constify these objects
fields without trouble.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/libnftables/chain.h
include/libnftables/set.h
src/chain.c
src/expr/log.c
src/expr_ops.h
src/internal.h
src/set.c
src/table.c