diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-04-11 17:54:50 +0900 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-04-12 09:55:26 +0200 |
commit | 9bafb8d50449b16b1bf187a8cf2d33da9fc4d61b (patch) | |
tree | f790ffb005597ce53e9e11249bd1a7e7cdffaea2 /src/libsystemd-network/network-internal.h | |
parent | 37da8bca9253874978c8d4e6ddc995334ac81706 (diff) | |
download | systemd-9bafb8d50449b16b1bf187a8cf2d33da9fc4d61b.tar.gz |
sd-dhcp-client: constify argument in sd_dhcp_lease_get_xxx()
Diffstat (limited to 'src/libsystemd-network/network-internal.h')
-rw-r--r-- | src/libsystemd-network/network-internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-network/network-internal.h b/src/libsystemd-network/network-internal.h index e5b853c0cd..9e7a67cbe3 100644 --- a/src/libsystemd-network/network-internal.h +++ b/src/libsystemd-network/network-internal.h @@ -27,5 +27,5 @@ int deserialize_dhcp_routes(struct sd_dhcp_route **ret, size_t *ret_size, size_t /* It is not necessary to add deserialize_dhcp_option(). Use unhexmem() instead. */ int serialize_dhcp_option(FILE *f, const char *key, const void *data, size_t size); -int dhcp_lease_save(sd_dhcp_lease *lease, const char *lease_file); +int dhcp_lease_save(const sd_dhcp_lease *lease, const char *lease_file); int dhcp_lease_load(sd_dhcp_lease **ret, const char *lease_file); |