diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2017-01-16 14:09:48 +0100 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2017-01-20 09:38:10 +0100 |
commit | ae2d1d5ac607b53da5b967ae5d82d043439d9093 (patch) | |
tree | 956e3190b8f4d49df7b5bf48166689d7313c335b /include | |
parent | 6b4a098aa96be378cdf73afdb46fcddee6c156b8 (diff) | |
download | libnl-ae2d1d5ac607b53da5b967ae5d82d043439d9093.tar.gz |
sriov: Add missing prototype for rtnl_link_vf_vlan_free()
Add missing function prototyoe for rtnl_link_vf_vlan_free() to the
public header.
This fixes the following GCC warning when compiling with
-Wmissing-prototypes:
route/link/sriov.c:1339:6: warning: no previous prototype for ‘rtnl_link_vf_vlan_free’ [-Wmissing-prototypes]
Fixes: 5d6e43ebef12 ("lib/route: SRIOV Parse and Read support")
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'include')
-rw-r--r-- | include/netlink/route/link/sriov.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/netlink/route/link/sriov.h b/include/netlink/route/link/sriov.h index c6963a8e..3f7cacf7 100644 --- a/include/netlink/route/link/sriov.h +++ b/include/netlink/route/link/sriov.h @@ -126,6 +126,7 @@ extern int rtnl_link_vf_get_vlans(struct rtnl_link_vf *, nl_vf_vlans_t **); extern void rtnl_link_vf_set_vlans(struct rtnl_link_vf *, nl_vf_vlans_t *); extern int rtnl_link_vf_vlan_alloc(nl_vf_vlans_t **, int); +extern void rtnl_link_vf_vlan_free(nl_vf_vlans_t *vf_vlans); extern void rtnl_link_vf_vlan_put(nl_vf_vlans_t *); /* Utility functions */ |