From 0e7b6c4983af4ddd3a50c3ce756638af157c7130 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Mon, 7 Sep 2015 18:02:50 +0200 Subject: src: get rid of _ATTR_ infix in new nfntl_ definitions The constant names are already large, trim off the _ATTR_ infix in the attribute definitions. Signed-off-by: Pablo Neira Ayuso --- include/libnftnl/ruleset.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include/libnftnl/ruleset.h') diff --git a/include/libnftnl/ruleset.h b/include/libnftnl/ruleset.h index 6c304dc..a627e1d 100644 --- a/include/libnftnl/ruleset.h +++ b/include/libnftnl/ruleset.h @@ -19,10 +19,10 @@ struct nftnl_ruleset *nftnl_ruleset_alloc(void); void nftnl_ruleset_free(struct nftnl_ruleset *r); enum { - NFTNL_RULESET_ATTR_TABLELIST = 0, - NFTNL_RULESET_ATTR_CHAINLIST, - NFTNL_RULESET_ATTR_SETLIST, - NFTNL_RULESET_ATTR_RULELIST, + NFTNL_RULESET_TABLELIST = 0, + NFTNL_RULESET_CHAINLIST, + NFTNL_RULESET_SETLIST, + NFTNL_RULESET_RULELIST, }; enum nftnl_ruleset_type { -- cgit v1.2.3