summaryrefslogtreecommitdiffstats
path: root/src/network/networkd-link.h
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2024-10-30 20:04:10 +0100
committerGitHub <noreply@github.com>2024-10-30 20:04:10 +0100
commite725a91ab76709297738077e324868122a73e558 (patch)
treeb53d2b4c422ade5d6b761ac6a6fa9be8cfacea0a /src/network/networkd-link.h
parentnetwork: process queued remove requests on stop (#34871) (diff)
parentnetwork: use newly loaded Network object if a referenced NetDev object is upd... (diff)
downloadsystemd-e725a91ab76709297738077e324868122a73e558.tar.xz
systemd-e725a91ab76709297738077e324868122a73e558.zip
network: several cleanups for reloading .network files (#34933)
split-out of #34909.
Diffstat (limited to 'src/network/networkd-link.h')
-rw-r--r--src/network/networkd-link.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/networkd-link.h b/src/network/networkd-link.h
index e29dd5d990..8ac7c35563 100644
--- a/src/network/networkd-link.h
+++ b/src/network/networkd-link.h
@@ -222,8 +222,8 @@ bool link_is_ready_to_configure(Link *link, bool allow_unmanaged);
void link_ntp_settings_clear(Link *link);
void link_dns_settings_clear(Link *link);
-Link *link_unref(Link *link);
-Link *link_ref(Link *link);
+Link* link_unref(Link *link);
+Link* link_ref(Link *link);
DEFINE_TRIVIAL_CLEANUP_FUNC(Link*, link_unref);
DEFINE_TRIVIAL_DESTRUCTOR(link_netlink_destroy_callback, Link, link_unref);