From cb66079de0411cb25c0de131567988e27dbd1617 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Mon, 16 Jan 2017 14:54:49 +0100 Subject: link/ipip: Add missing prototype for rtnl_link_is_ipip() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add the function prototype for rtnl_link_is_ipip() to the public header. This fixes the following GCC warning when compiling with -Wmissing-prototypes: route/link/ipip.c:296:5: warning: no previous prototype for ‘rtnl_link_is_ipip’ [-Wmissing-prototypes] Signed-off-by: Tobias Klauser --- include/netlink/route/link/ipip.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/netlink/route/link/ipip.h b/include/netlink/route/link/ipip.h index ccadb87..a7f5158 100644 --- a/include/netlink/route/link/ipip.h +++ b/include/netlink/route/link/ipip.h @@ -18,10 +18,11 @@ #ifdef __cplusplus extern "C" { #endif - extern struct rtnl_link *rtnl_link_ipip_alloc(void); extern int rtnl_link_ipip_add(struct nl_sock *sk, const char *name); + extern int rtnl_link_is_ipip(struct rtnl_link *link); + extern uint32_t rtnl_link_ipip_get_link(struct rtnl_link *link); extern int rtnl_link_ipip_set_link(struct rtnl_link *link, uint32_t index); -- cgit v0.12