summaryrefslogtreecommitdiff
path: root/src/systemd
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2014-02-18 19:11:08 +0100
committerLennart Poettering <lennart@poettering.net>2014-02-20 00:03:09 +0100
commit3db729cb8e6822114e9323f4041dcdc080f2fb3c (patch)
treed392f66240c14bb102569cea7977fb3b293b91c3 /src/systemd
parente51660ae56bb747ece2cab8fe6eec37f4d06a438 (diff)
sd-bus: the bus returned should be the first arg
This matches the API of previous headers, such as sd-journal.h.
Diffstat (limited to 'src/systemd')
-rw-r--r--src/systemd/sd-bus.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/systemd/sd-bus.h b/src/systemd/sd-bus.h
index 34d426321e..94a435ac6d 100644
--- a/src/systemd/sd-bus.h
+++ b/src/systemd/sd-bus.h
@@ -102,8 +102,8 @@ int sd_bus_default_system(sd_bus **ret);
int sd_bus_open(sd_bus **ret);
int sd_bus_open_user(sd_bus **ret);
int sd_bus_open_system(sd_bus **ret);
-int sd_bus_open_system_remote(const char *host, sd_bus **ret);
-int sd_bus_open_system_container(const char *machine, sd_bus **ret);
+int sd_bus_open_system_remote(sd_bus **ret, const char *host);
+int sd_bus_open_system_container(sd_bus **ret, const char *machine);
int sd_bus_new(sd_bus **ret);
int sd_bus_set_address(sd_bus *bus, const char *address);