summaryrefslogtreecommitdiffstats
path: root/lib/fib_lookup
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2023-07-28 14:30:30 (GMT)
committerThomas Haller <thaller@redhat.com>2023-07-28 14:30:30 (GMT)
commita9c5de52275205ca44dec33aecbcda6348d41d5d (patch)
tree495f08f8cd556e6e62544fdbd37449822e0b40ca /lib/fib_lookup
parent102f9bd242a70d4f9c82e283074ca3bd4ff2b92e (diff)
downloadlibnl-a9c5de52275205ca44dec33aecbcda6348d41d5d.zip
libnl-a9c5de52275205ca44dec33aecbcda6348d41d5d.tar.gz
libnl-a9c5de52275205ca44dec33aecbcda6348d41d5d.tar.bz2
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/fib_lookup')
-rw-r--r--lib/fib_lookup/lookup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/fib_lookup/lookup.c b/lib/fib_lookup/lookup.c
index e258546..6fda9c3 100644
--- a/lib/fib_lookup/lookup.c
+++ b/lib/fib_lookup/lookup.c
@@ -333,12 +333,12 @@ static struct nl_cache_ops fib_lookup_ops = {
.co_obj_ops = &result_obj_ops,
};
-static void __init fib_lookup_init(void)
+static void _nl_init fib_lookup_init(void)
{
nl_cache_mngt_register(&fib_lookup_ops);
}
-static void __exit fib_lookup_exit(void)
+static void _nl_exit fib_lookup_exit(void)
{
nl_cache_mngt_unregister(&fib_lookup_ops);
}