path: root/src/login/logind-user.h
diff options
authorLennart Poettering <>2015-04-29 18:35:10 +0200
committerSven Eden <>2017-03-14 08:18:27 +0100
commit81295bb5aced5d5350db11b0e9bb284e22d2ac37 (patch)
treed966734bb1fdef26cb9d396a64065d9f0668fb97 /src/login/logind-user.h
parent44431d4f7a21918a004b4cdf6a303ae86afb93e0 (diff)
sd-bus: drop bus parameter from message callback prototype
This should simplify the prototype a bit. The bus parameter is redundant in most cases, and in the few where it matters it can be derived from the message via sd_bus_message_get_bus().
Diffstat (limited to 'src/login/logind-user.h')
1 files changed, 2 insertions, 2 deletions
diff --git a/src/login/logind-user.h b/src/login/logind-user.h
index 607fe1bf7..902bb52aa 100644
--- a/src/login/logind-user.h
+++ b/src/login/logind-user.h
@@ -91,5 +91,5 @@ int user_send_changed(User *u, const char *properties, ...) _sentinel_;
const char* user_state_to_string(UserState s) _const_;
UserState user_state_from_string(const char *s) _pure_;
-int bus_user_method_terminate(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error);
-int bus_user_method_kill(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error);
+int bus_user_method_terminate(sd_bus_message *message, void *userdata, sd_bus_error *error);
+int bus_user_method_kill(sd_bus_message *message, void *userdata, sd_bus_error *error);