summaryrefslogtreecommitdiffstats
path: root/lib/utils.c
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/utils.c
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/utils.c')
-rw-r--r--lib/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/utils.c b/lib/utils.c
index a20f36c..9fb228c 100644
--- a/lib/utils.c
+++ b/lib/utils.c
@@ -52,7 +52,7 @@ struct nl_dump_params nl_debug_dp = {
.dp_type = NL_DUMP_DETAILS,
};
-static void __init nl_debug_init(void)
+static void _nl_init nl_debug_init(void)
{
char *nldbg, *end;