summaryrefslogtreecommitdiffstats
path: root/lib/object.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/object.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/object.c')
-rw-r--r--lib/object.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/object.c b/lib/object.c
index bef0b6f..b16e138 100644
--- a/lib/object.c
+++ b/lib/object.c
@@ -21,12 +21,16 @@
* ~~~~
*/
-#include <netlink-private/netlink.h>
#include <netlink/netlink.h>
#include <netlink/cache.h>
#include <netlink/object.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 inline struct nl_object_ops *obj_ops(struct nl_object *obj)
{
if (!obj->ce_ops)