various: move ptr indicator to return value
This commit is contained in:
@@ -461,7 +461,7 @@ static int image_object_find(sd_bus *bus, const char *path, const char *interfac
|
||||
return 1;
|
||||
}
|
||||
|
||||
char *image_bus_path(const char *name) {
|
||||
char* image_bus_path(const char *name) {
|
||||
_cleanup_free_ char *e = NULL;
|
||||
|
||||
assert(name);
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
extern const BusObjectImplementation image_object;
|
||||
|
||||
int manager_acquire_image(Manager *m, const char *name, Image **ret);
|
||||
char *image_bus_path(const char *name);
|
||||
char* image_bus_path(const char *name);
|
||||
|
||||
int bus_image_method_remove(sd_bus_message *message, void *userdata, sd_bus_error *error);
|
||||
int bus_image_method_rename(sd_bus_message *message, void *userdata, sd_bus_error *error);
|
||||
|
||||
@@ -1231,7 +1231,7 @@ static int machine_object_find(sd_bus *bus, const char *path, const char *interf
|
||||
return 1;
|
||||
}
|
||||
|
||||
char *machine_bus_path(Machine *m) {
|
||||
char* machine_bus_path(Machine *m) {
|
||||
_cleanup_free_ char *e = NULL;
|
||||
|
||||
assert(m);
|
||||
|
||||
@@ -13,7 +13,7 @@ typedef enum {
|
||||
|
||||
extern const BusObjectImplementation machine_object;
|
||||
|
||||
char *machine_bus_path(Machine *s);
|
||||
char* machine_bus_path(Machine *s);
|
||||
|
||||
int bus_machine_method_unregister(sd_bus_message *message, void *userdata, sd_bus_error *error);
|
||||
int bus_machine_method_terminate(sd_bus_message *message, void *userdata, sd_bus_error *error);
|
||||
|
||||
Reference in New Issue
Block a user