]> git.ipfire.org Git - thirdparty/systemd.git/commit
systemctl: move compare_unit_info() to bus-unit-util.[ch]
authorLennart Poettering <lennart@poettering.net>
Wed, 7 Oct 2020 19:56:41 +0000 (21:56 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 7 Oct 2020 20:19:37 +0000 (22:19 +0200)
commit4dcc0653b57a6930bcd88d0f91df47b996308112
tree942646661bea498a188a1e42ee2913b70b9ce383
parente2d839d316b006fe86b1f156d90da35fa0857bfb
systemctl: move compare_unit_info() to bus-unit-util.[ch]

It's an auxiliary function to the UnitInfo structures, and very generic.
Let's hence move it over to the other code operating with UnitInfo, even
if it's not used by code outside of systemctl (yet).
src/shared/bus-unit-util.c
src/shared/bus-unit-util.h
src/systemctl/systemctl.c