]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/shared/conf-parser.c
conf-parser: update config_item_*_lookup() to follow modern coding style
authorLennart Poettering <lennart@poettering.net>
Wed, 9 Feb 2022 08:55:21 +0000 (09:55 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 9 Feb 2022 09:17:23 +0000 (10:17 +0100)
commit0b95409928c520e59b345eea14a571820eb8f7b3
treeba245e011cd4b32c54cbdfb5e755f5fca95dc82a
parentcec7f09dc8beb21afcae981dbe3543686f793810
conf-parser: update config_item_*_lookup() to follow modern coding style

Let's rename the return parameters ret_xyz, and always initialize them
if we return >= 0, as per our current coding style.
src/shared/conf-parser.c
src/shared/conf-parser.h
src/xdg-autostart-generator/xdg-autostart-service.c