]> git.ipfire.org Git - thirdparty/systemd.git/commit
sd-device: make device_get_properties_{nulstr,strv}() take NULL for result value
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 8 Jul 2022 19:13:49 +0000 (04:13 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 8 Jul 2022 19:14:44 +0000 (04:14 +0900)
commit793ab3e9dd733d743e1d3825a26ff65384ac3cbb
tree9259f9a7542ac80126c753873cd7ecd414dda2b4
parentcff31876dabdfdc0d70c0b72917d6b66ab973a54
sd-device: make device_get_properties_{nulstr,strv}() take NULL for result value

In most cases, it is not necessary to call them without retrieving
result. But, most of other getter functions for sd-device can take NULL.
Let's follow the way for consistency.
src/libsystemd/sd-device/device-private.c
src/libsystemd/sd-device/device-private.h