summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2017-01-16 14:58:20 +0100
committerTobias Klauser <tklauser@distanz.ch>2017-01-20 09:38:10 +0100
commit5d2a5f4a9d6a06508c9f751ba72a53c2419b969b (patch)
tree845e519b97b2b4b632e0f926b0583a577c47d3c1 /doc
parent50acd534b3a9d726f57150a1791b5706aecbb340 (diff)
downloadlibnl-5d2a5f4a9d6a06508c9f751ba72a53c2419b969b.tar.gz
link/ipvti: Fix and add function prototypes in public header
Add missing "_ipvti" part to function prototypes so they match the exported name. Also add the missing prototype for rtnl_link_is_ipvti(). This fixes the following GCC warnings when compiling with -Wmissing-prototypes: route/link/ipvti.c:281:5: warning: no previous prototype for ‘rtnl_link_is_ipvti’ [-Wmissing-prototypes] route/link/ipvti.c:369:10: warning: no previous prototype for ‘rtnl_link_ipvti_get_ikey’ [-Wmissing-prototypes] route/link/ipvti.c:403:10: warning: no previous prototype for ‘rtnl_link_ipvti_get_okey’ [-Wmissing-prototypes] route/link/ipvti.c:437:10: warning: no previous prototype for ‘rtnl_link_ipvti_get_local’ [-Wmissing-prototypes] route/link/ipvti.c:471:10: warning: no previous prototype for ‘rtnl_link_ipvti_get_remote’ [-Wmissing-prototypes] Also fix the corresponding names in documentation. Fixes: 8f6301426a00 ("ipvti: introduce vti tunnel support") Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'doc')
-rw-r--r--doc/route.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/route.txt b/doc/route.txt
index e1e15f1f..fece9179 100644
--- a/doc/route.txt
+++ b/doc/route.txt
@@ -1150,10 +1150,10 @@ extern int rtnl_link_ipvti_set_link(struct rtnl_link *link, uint32_t index);
extern uint32_t rtnl_link_ipvti_get_link(struct rtnl_link *link);
extern int rtnl_link_ipvti_set_ikey(struct rtnl_link *link, uint32_t ikey);
-extern uint32_t rtnl_link_get_ikey(struct rtnl_link *link);
+extern uint32_t rtnl_link_ipvti_get_ikey(struct rtnl_link *link);
extern int rtnl_link_ipvti_set_okey(struct rtnl_link *link, uint32_t okey);
-extern uint32_t rtnl_link_get_okey(struct rtnl_link *link)
+extern uint32_t rtnl_link_ipvti_get_okey(struct rtnl_link *link)
extern int rtnl_link_ipvti_set_local(struct rtnl_link *link, uint32_t addr);
extern uint32_t rtnl_link_ipvti_get_local(struct rtnl_link *link);