mirror of
https://github.com/systemd/systemd.git
synced 2024-11-04 22:21:55 +03:00
sd-bus: Use pointer syntax for sd_bus_set_exec argv parameter
This commit is contained in:
parent
5fe63895b9
commit
59a77060e0
@ -284,7 +284,7 @@ _public_ int sd_bus_set_fd(sd_bus *bus, int input_fd, int output_fd) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
_public_ int sd_bus_set_exec(sd_bus *bus, const char *path, char *const argv[]) {
|
||||
_public_ int sd_bus_set_exec(sd_bus *bus, const char *path, char *const *argv) {
|
||||
_cleanup_strv_free_ char **a = NULL;
|
||||
int r;
|
||||
|
||||
|
@ -143,7 +143,7 @@ int sd_bus_new(sd_bus **ret);
|
||||
|
||||
int sd_bus_set_address(sd_bus *bus, const char *address);
|
||||
int sd_bus_set_fd(sd_bus *bus, int input_fd, int output_fd);
|
||||
int sd_bus_set_exec(sd_bus *bus, const char *path, char *const argv[]);
|
||||
int sd_bus_set_exec(sd_bus *bus, const char *path, char *const *argv);
|
||||
int sd_bus_get_address(sd_bus *bus, const char **address);
|
||||
int sd_bus_set_bus_client(sd_bus *bus, int b);
|
||||
int sd_bus_is_bus_client(sd_bus *bus);
|
||||
|
Loading…
Reference in New Issue
Block a user