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.
This commit is contained in:
Yu Watanabe
2022-09-17 09:54:41 +02:00
committed by Daan De Meyer
parent cb19517490
commit ee3455cf11
11 changed files with 12 additions and 15 deletions
+1 -1
View File
@@ -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;