]> git.ipfire.org Git - thirdparty/systemd.git/commit
fd-util: rename CLOSE_AND_REPLACE() -> close_and_replace()
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 16 Sep 2022 16:57:04 +0000 (01:57 +0900)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Sat, 17 Sep 2022 07:54:41 +0000 (09:54 +0200)
commitee3455cf11acbfccc3df201f1feea674fc91f77d
treec288d42f0bdfad3d6a73815e4223538363b6ec13
parentcb19517490104553907bb0b118cd2005d6e379cc
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.
src/basic/chase-symlinks.c
src/basic/fd-util.c
src/basic/fd-util.h
src/core/execute.c
src/home/homed-home.c
src/import/import-raw.c
src/import/pull-raw.c
src/libsystemd-network/sd-ipv4acd.c
src/login/logind-session-device.c
src/shared/data-fd-util.c
src/tmpfiles/tmpfiles.c