summaryrefslogtreecommitdiffhomepage
path: root/src/netlink.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-11-29 22:42:42 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2017-11-29 22:42:42 +0100
commita13150499c9df25718505ddd1b2bbd48a51c6ffc (patch)
tree43578249f2e636b278377f5339ec2469e2a663b0 /src/netlink.c
parente18fb977156f938d76a58906af47cbcd9a3702bb (diff)
netlink: rename symbol to avoid clashes
At somepoint we may need to wg_ namespace these. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/netlink.c')
-rw-r--r--src/netlink.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/netlink.c b/src/netlink.c
index 43e5ce0..7faaa1a 100644
--- a/src/netlink.c
+++ b/src/netlink.c
@@ -498,12 +498,12 @@ __ro_after_init = {
.netnsok = true
};
-int __init netlink_init(void)
+int __init genetlink_init(void)
{
return genl_register_family(&genl_family);
}
-void __exit netlink_uninit(void)
+void __exit genetlink_uninit(void)
{
genl_unregister_family(&genl_family);
}