diff options
-rw-r--r-- | src/chain.c | 5 | ||||
-rw-r--r-- | src/gen.c | 5 | ||||
-rw-r--r-- | src/rule.c | 5 | ||||
-rw-r--r-- | src/set.c | 5 | ||||
-rw-r--r-- | src/set_elem.c | 6 | ||||
-rw-r--r-- | src/table.c | 5 |
6 files changed, 13 insertions, 18 deletions
diff --git a/src/chain.c b/src/chain.c index c988bdd..16f764f 100644 --- a/src/chain.c +++ b/src/chain.c @@ -936,9 +936,8 @@ int nftnl_chain_snprintf(char *buf, size_t size, const struct nftnl_chain *c, } EXPORT_SYMBOL_ALIAS(nftnl_chain_snprintf, nft_chain_snprintf); -static inline int nftnl_chain_do_snprintf(char *buf, size_t size, const void *c, - uint32_t cmd, uint32_t type, - uint32_t flags) +static int nftnl_chain_do_snprintf(char *buf, size_t size, const void *c, + uint32_t cmd, uint32_t type, uint32_t flags) { return nftnl_chain_snprintf(buf, size, c, type, flags); } @@ -194,9 +194,8 @@ int nftnl_gen_snprintf(char *buf, size_t size, const struct nftnl_gen *gen, } EXPORT_SYMBOL_ALIAS(nftnl_gen_snprintf, nft_gen_snprintf); -static inline int nftnl_gen_do_snprintf(char *buf, size_t size, const void *gen, - uint32_t cmd, uint32_t type, - uint32_t flags) +static int nftnl_gen_do_snprintf(char *buf, size_t size, const void *gen, + uint32_t cmd, uint32_t type, uint32_t flags) { return nftnl_gen_snprintf(buf, size, gen, type, flags); } @@ -978,9 +978,8 @@ int nftnl_rule_snprintf(char *buf, size_t size, const struct nftnl_rule *r, } EXPORT_SYMBOL_ALIAS(nftnl_rule_snprintf, nft_rule_snprintf); -static inline int nftnl_rule_do_snprintf(char *buf, size_t size, const void *r, - uint32_t cmd, uint32_t type, - uint32_t flags) +static int nftnl_rule_do_snprintf(char *buf, size_t size, const void *r, + uint32_t cmd, uint32_t type, uint32_t flags) { return nftnl_rule_snprintf(buf, size, r, type, flags); } @@ -1041,9 +1041,8 @@ int nftnl_set_snprintf(char *buf, size_t size, const struct nftnl_set *s, } EXPORT_SYMBOL_ALIAS(nftnl_set_snprintf, nft_set_snprintf); -static inline int nftnl_set_do_snprintf(char *buf, size_t size, const void *s, - uint32_t cmd, uint32_t type, - uint32_t flags) +static int nftnl_set_do_snprintf(char *buf, size_t size, const void *s, + uint32_t cmd, uint32_t type, uint32_t flags) { return nftnl_set_snprintf(buf, size, s, type, flags); } diff --git a/src/set_elem.c b/src/set_elem.c index d8c4758..353f21e 100644 --- a/src/set_elem.c +++ b/src/set_elem.c @@ -777,9 +777,9 @@ int nftnl_set_elem_snprintf(char *buf, size_t size, } EXPORT_SYMBOL_ALIAS(nftnl_set_elem_snprintf, nft_set_elem_snprintf); -static inline int nftnl_set_elem_do_snprintf(char *buf, size_t size, - const void *e, uint32_t cmd, - uint32_t type, uint32_t flags) +static int nftnl_set_elem_do_snprintf(char *buf, size_t size, const void *e, + uint32_t cmd, uint32_t type, + uint32_t flags) { return nftnl_set_elem_snprintf(buf, size, e, type, flags); } diff --git a/src/table.c b/src/table.c index b7c0045..42fe49f 100644 --- a/src/table.c +++ b/src/table.c @@ -457,9 +457,8 @@ int nftnl_table_snprintf(char *buf, size_t size, const struct nftnl_table *t, } EXPORT_SYMBOL_ALIAS(nftnl_table_snprintf, nft_table_snprintf); -static inline int nftnl_table_do_snprintf(char *buf, size_t size, const void *t, - uint32_t cmd, uint32_t type, - uint32_t flags) +static int nftnl_table_do_snprintf(char *buf, size_t size, const void *t, + uint32_t cmd, uint32_t type, uint32_t flags) { return nftnl_table_snprintf(buf, size, t, type, flags); } |