From cd198535c645b34ca2e5cf0f33df28f1a6341982 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Mon, 9 May 2016 23:03:25 +0200 Subject: 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 --- src/set_elem.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/set_elem.c') 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); } -- cgit v1.2.3