]> git.ipfire.org Git - thirdparty/systemd.git/commit
sd-login: modernize return parameter handling
authorLennart Poettering <lennart@poettering.net>
Wed, 4 Jun 2025 09:38:40 +0000 (11:38 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 4 Jun 2025 15:58:42 +0000 (17:58 +0200)
commiteac4a028df96a2b95b66870b9b78f51fa413056c
tree0379a423346ce050ff186864382ea2913d20751c
parent356e9bc0181f575e6c208d343f8e2eef151abc47
sd-login: modernize return parameter handling

Let's rename the return parameters as "ret_xyz" systematically in
sd-login.

Also, let's make the return parameters systematically optional, like we
typically do these days. So far some where optional, other's weren't.
Let's clean this up.
src/basic/cgroup-util.c
src/basic/fs-util.c
src/libsystemd/sd-login/sd-login.c
src/systemd/sd-login.h