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 <tklauser@distanz.ch>
#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);