diff options
author | David Tardon <dtardon@redhat.com> | 2023-04-11 17:25:42 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2023-04-12 09:53:55 +0200 |
commit | 5e891cbb5cfb0de54588988f1c9969244a9317a3 (patch) | |
tree | 9fd735d8f5c3e0d76d8530e259baae842c6fef6d /src/shared/bus-unit-util.h | |
parent | Merge pull request #27033 from dtardon/array-cleanup (diff) | |
download | systemd-5e891cbb5cfb0de54588988f1c9969244a9317a3.tar.xz systemd-5e891cbb5cfb0de54588988f1c9969244a9317a3.zip |
tree-wide: drop unneeded output params
Neither of the callers of bus_deserialize_and_dump_unit_file_changes()
touches the changes array, so let's simplify things and keep it internal
to the function.
Diffstat (limited to 'src/shared/bus-unit-util.h')
-rw-r--r-- | src/shared/bus-unit-util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/bus-unit-util.h b/src/shared/bus-unit-util.h index 789a142e1d..97d84708b4 100644 --- a/src/shared/bus-unit-util.h +++ b/src/shared/bus-unit-util.h @@ -25,7 +25,7 @@ int bus_parse_unit_info(sd_bus_message *message, UnitInfo *u); int bus_append_unit_property_assignment(sd_bus_message *m, UnitType t, const char *assignment); int bus_append_unit_property_assignment_many(sd_bus_message *m, UnitType t, char **l); -int bus_deserialize_and_dump_unit_file_changes(sd_bus_message *m, bool quiet, InstallChange **changes, size_t *n_changes); +int bus_deserialize_and_dump_unit_file_changes(sd_bus_message *m, bool quiet); int unit_load_state(sd_bus *bus, const char *name, char **load_state); |