diff options
author | Thomas Haller <thaller@redhat.com> | 2014-01-02 10:00:31 (GMT) |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2014-01-02 10:56:56 (GMT) |
commit | 2cf635b06a678ebe09d6ea6db72bc09de09f84c8 (patch) | |
tree | a60845312967a3d31d74bc95acddfa7bca680eef /include | |
parent | 62c37faa3fa3c3305b33a27a40e88692d8fd6ad3 (diff) | |
download | libnl-2cf635b06a678ebe09d6ea6db72bc09de09f84c8.zip libnl-2cf635b06a678ebe09d6ea6db72bc09de09f84c8.tar.gz libnl-2cf635b06a678ebe09d6ea6db72bc09de09f84c8.tar.bz2 |
route: add libnl name prefix to global variable link_policy
Public names should be prefixed with a libnl specific
prefix to avoid name collisions. Rename link_policy to
rtln_link_policy.
Related bugs:
https://github.com/thom311/libnl/issues/52
https://bugzilla.gnome.org/show_bug.cgi?id=720902
https://bugs.gentoo.org/show_bug.cgi?id=494986
https://bugs.gentoo.org/show_bug.cgi?id=494890
Signed-off-by: Thomas Haller <thaller@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/netlink/route/link.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/netlink/route/link.h b/include/netlink/route/link.h index 29a5df9..3345787 100644 --- a/include/netlink/route/link.h +++ b/include/netlink/route/link.h @@ -98,7 +98,7 @@ typedef enum { #define RTNL_LINK_STATS_MAX (__RTNL_LINK_STATS_MAX - 1) -extern struct nla_policy link_policy[]; +extern struct nla_policy rtln_link_policy[]; extern struct rtnl_link *rtnl_link_alloc(void); extern void rtnl_link_put(struct rtnl_link *); |