summaryrefslogtreecommitdiffstats
path: root/lib/cache_mngt.c
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2023-08-01 08:56:47 (GMT)
committerThomas Haller <thaller@redhat.com>2023-08-02 20:20:12 (GMT)
commit1010776d62a0e0ae261fff61c6c00f3f0c1ff2a0 (patch)
tree6472fb70628d554104964afbfda928ceecbde800 /lib/cache_mngt.c
parentd1d57846ccb8d9664206a0a3f735db26d4bc4c8d (diff)
downloadlibnl-1010776d62a0e0ae261fff61c6c00f3f0c1ff2a0.zip
libnl-1010776d62a0e0ae261fff61c6c00f3f0c1ff2a0.tar.gz
libnl-1010776d62a0e0ae261fff61c6c00f3f0c1ff2a0.tar.bz2
include: split and drop "netlink-private/types.h"
Move all the declarations from "netlink-private/types.h" to places closer to where they are used.
Diffstat (limited to 'lib/cache_mngt.c')
-rw-r--r--lib/cache_mngt.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/cache_mngt.c b/lib/cache_mngt.c
index f506976..574ec72 100644
--- a/lib/cache_mngt.c
+++ b/lib/cache_mngt.c
@@ -19,11 +19,15 @@
* ~~~~
*/
-#include <netlink-private/netlink.h>
#include <netlink/netlink.h>
#include <netlink/cache.h>
#include <netlink/utils.h>
+#include <netlink-private/netlink.h>
+
+#include "nl-priv-dynamic-core/nl-core.h"
+#include "nl-priv-dynamic-core/object-api.h"
+
static struct nl_cache_ops *cache_ops;
static NL_RW_LOCK(cache_ops_lock);