summaryrefslogtreecommitdiff
path: root/src/libsystemd-network/sd-ipv4acd.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2022-09-17 01:57:04 +0900
committerDaan De Meyer <daan.j.demeyer@gmail.com>2022-09-17 09:54:41 +0200
commitee3455cf11acbfccc3df201f1feea674fc91f77d (patch)
treec288d42f0bdfad3d6a73815e4223538363b6ec13 /src/libsystemd-network/sd-ipv4acd.c
parentcb19517490104553907bb0b118cd2005d6e379cc (diff)
downloadsystemd-ee3455cf11acbfccc3df201f1feea674fc91f77d.tar.gz
fd-util: rename CLOSE_AND_REPLACE() -> close_and_replace()
We have free_and_replace() and friends, they are all named with lower letters, even they are macros, not functions. For consistency, let's rename CLOSE_AND_REPLACE() with lower letters. This also mekes the macro used more places.
Diffstat (limited to 'src/libsystemd-network/sd-ipv4acd.c')
-rw-r--r--src/libsystemd-network/sd-ipv4acd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-network/sd-ipv4acd.c b/src/libsystemd-network/sd-ipv4acd.c
index 673783b2b3..9b11b2f160 100644
--- a/src/libsystemd-network/sd-ipv4acd.c
+++ b/src/libsystemd-network/sd-ipv4acd.c
@@ -583,7 +583,7 @@ int sd_ipv4acd_start(sd_ipv4acd *acd, bool reset_conflicts) {
if (r < 0)
return r;
- CLOSE_AND_REPLACE(acd->fd, r);
+ close_and_replace(acd->fd, r);
if (reset_conflicts)
acd->n_conflict = 0;