diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-05-09 23:03:25 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-05-09 23:10:08 +0200 |
commit | cd198535c645b34ca2e5cf0f33df28f1a6341982 (patch) | |
tree | e8c0becfb9b8f2dd28c1cbe12ffa9a06bbc75b20 /src/set.c | |
parent | 600890067c40e1846398db373b9c38b6fe9a16a6 (diff) |
src: remove unnecessary inline in _snprintf functions
These functions are passed as parameter, so we basically get nothing
with this.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/set.c')
-rw-r--r-- | src/set.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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); } |