[PATCH 2/2] 2/2] Remove superfluous declaration of rtnl_route_put()

Tony Cheneau tony.cheneau at amnesiak.org
Sat Mar 16 00:23:19 EDT 2013


rtnl_route_put() is declared twice in the same header file

Signed-off-by: Tony Cheneau <tony.cheneau at amnesiak.org>
---
 include/netlink/route/route.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/include/netlink/route/route.h b/include/netlink/route/route.h
index d3543af..477250d 100644
--- a/include/netlink/route/route.h
+++ b/include/netlink/route/route.h
@@ -54,7 +54,6 @@ extern int	rtnl_route_alloc_cache(struct nl_sock *, int, int,
 				       struct nl_cache **);
 
 extern void	rtnl_route_get(struct rtnl_route *);
-extern void	rtnl_route_put(struct rtnl_route *);
 
 extern int	rtnl_route_parse(struct nlmsghdr *, struct rtnl_route **);
 extern int	rtnl_route_build_msg(struct nl_msg *, struct rtnl_route *);
-- 
1.7.12.4




More information about the libnl mailing list