summaryrefslogtreecommitdiff
path: root/lib/route/link/macsec.c
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2023-07-28 16:30:30 +0200
committerThomas Haller <thaller@redhat.com>2023-07-28 16:30:30 +0200
commita9c5de52275205ca44dec33aecbcda6348d41d5d (patch)
tree495f08f8cd556e6e62544fdbd37449822e0b40ca /lib/route/link/macsec.c
parent102f9bd242a70d4f9c82e283074ca3bd4ff2b92e (diff)
downloadlibnl-a9c5de52275205ca44dec33aecbcda6348d41d5d.tar.gz
lib: use _nl_{init,exit} instead of __{init,exit}
We should have things with "nl" prefix in our headers. Also, netlink-private/netlink.h is not header-only, preferably header-only stuff is in netlink-private/utils.h
Diffstat (limited to 'lib/route/link/macsec.c')
-rw-r--r--lib/route/link/macsec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/route/link/macsec.c b/lib/route/link/macsec.c
index 821f25f9..c0dabe83 100644
--- a/lib/route/link/macsec.c
+++ b/lib/route/link/macsec.c
@@ -418,12 +418,12 @@ static struct rtnl_link_info_ops macsec_info_ops = {
.io_compare = macsec_compare,
};
-static void __init macsec_init(void)
+static void _nl_init macsec_init(void)
{
rtnl_link_register_info(&macsec_info_ops);
}
-static void __exit macsec_exit(void)
+static void _nl_exit macsec_exit(void)
{
rtnl_link_unregister_info(&macsec_info_ops);
}