1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-26 03:22:00 +03:00

sd-bus: rename introspect_free() -> introspect_done

This commit is contained in:
Yu Watanabe 2023-05-28 22:53:23 +09:00
parent 5d2a48da12
commit 3256e2027b
3 changed files with 3 additions and 3 deletions

View File

@ -277,7 +277,7 @@ int introspect_finish(struct introspect *i, char **ret) {
return 0;
}
void introspect_free(struct introspect *i) {
void introspect_done(struct introspect *i) {
assert(i);
/* Normally introspect_finish() does all the work, this is just a backup for error paths */

View File

@ -23,4 +23,4 @@ int introspect_write_interface(
const char *interface_name,
const sd_bus_vtable *v);
int introspect_finish(struct introspect *i, char **ret);
void introspect_free(struct introspect *i);
void introspect_done(struct introspect *i);

View File

@ -927,7 +927,7 @@ int introspect_path(
sd_bus_error *error) {
_cleanup_ordered_set_free_free_ OrderedSet *s = NULL;
_cleanup_(introspect_free) struct introspect intro = {};
_cleanup_(introspect_done) struct introspect intro = {};
bool empty;
int r;