mirror of
https://github.com/systemd/systemd.git
synced 2024-12-25 01:34:28 +03:00
sd-bus: rename introspect_free() -> introspect_done
This commit is contained in:
parent
5d2a48da12
commit
3256e2027b
@ -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 */
|
||||
|
@ -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);
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user