chiark / gitweb /
bus: rework message handlers to always take an error argument
[elogind.git] / src / core / dbus-path.c
index a206f490208baa570b6e82851453e6ae571a5728..cf1de44d8547719e3d7f3d17246ee13597c9c895 100644 (file)
@@ -33,8 +33,8 @@ static int property_get_paths(
                 const char *interface,
                 const char *property,
                 sd_bus_message *reply,
-                sd_bus_error *error,
-                void *userdata) {
+                void *userdata,
+                sd_bus_error *error) {
 
         Path *p = userdata;
         PathSpec *k;
@@ -63,8 +63,8 @@ static int property_get_unit(
                 const char *interface,
                 const char *property,
                 sd_bus_message *reply,
-                sd_bus_error *error,
-                void *userdata) {
+                void *userdata,
+                sd_bus_error *error) {
 
         Unit *p = userdata, *trigger;