]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
sd-dhcp-client: coding style fix
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 12 Mar 2026 20:31:45 +0000 (05:31 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 21 Mar 2026 18:34:43 +0000 (03:34 +0900)
src/libsystemd-network/sd-dhcp-client.c
src/systemd/sd-dhcp-client.h

index 4b1cdd0b8635215088dc12f6ae56a121a90cfa02..bb9ea3594347e0fa5d5673cd35a79aa1b100bf14 100644 (file)
@@ -2524,7 +2524,7 @@ int sd_dhcp_client_detach_event(sd_dhcp_client *client) {
         return 0;
 }
 
-sd_event *sd_dhcp_client_get_event(sd_dhcp_client *client) {
+sd_eventsd_dhcp_client_get_event(sd_dhcp_client *client) {
         assert_return(client, NULL);
 
         return client->event;
@@ -2536,7 +2536,7 @@ int sd_dhcp_client_attach_device(sd_dhcp_client *client, sd_device *dev) {
         return device_unref_and_replace(client->dev, dev);
 }
 
-static sd_dhcp_client *dhcp_client_free(sd_dhcp_client *client) {
+static sd_dhcp_clientdhcp_client_free(sd_dhcp_client *client) {
         if (!client)
                 return NULL;
 
index b2995a961f32035668f15cf50ccf7496b675d062..033d5ad894ec34585d935e2495a461327f16914e 100644 (file)
@@ -172,7 +172,7 @@ int sd_dhcp_client_attach_event(
                 sd_event *event,
                 int64_t priority);
 int sd_dhcp_client_detach_event(sd_dhcp_client *client);
-sd_event *sd_dhcp_client_get_event(sd_dhcp_client *client);
+sd_eventsd_dhcp_client_get_event(sd_dhcp_client *client);
 int sd_dhcp_client_attach_device(sd_dhcp_client *client, sd_device *dev);
 
 _SD_DEFINE_POINTER_CLEANUP_FUNC(sd_dhcp_client, sd_dhcp_client_unref);