summaryrefslogtreecommitdiffstats
path: root/src/libsystemd-network/dhcp-client-id-internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libsystemd-network/dhcp-client-id-internal.h')
-rw-r--r--src/libsystemd-network/dhcp-client-id-internal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsystemd-network/dhcp-client-id-internal.h b/src/libsystemd-network/dhcp-client-id-internal.h
index 655f17b2e9..382575e7a2 100644
--- a/src/libsystemd-network/dhcp-client-id-internal.h
+++ b/src/libsystemd-network/dhcp-client-id-internal.h
@@ -2,9 +2,9 @@
#pragma once
#include "sd-dhcp-client-id.h"
+#include "sd-json.h"
#include "dhcp-duid-internal.h"
-#include "json.h"
#include "macro.h"
#include "siphash24.h"
#include "sparse-endian.h"
@@ -57,4 +57,4 @@ static inline bool client_id_data_size_is_valid(size_t size) {
void client_id_hash_func(const sd_dhcp_client_id *client_id, struct siphash *state);
int client_id_compare_func(const sd_dhcp_client_id *a, const sd_dhcp_client_id *b);
-int json_dispatch_client_id(const char *name, JsonVariant *variant, JsonDispatchFlags flags, void *userdata);
+int json_dispatch_client_id(const char *name, sd_json_variant *variant, sd_json_dispatch_flags_t flags, void *userdata);