summaryrefslogtreecommitdiff
path: root/src/libsystemd-terminal/idev.c
diff options
context:
space:
mode:
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>2015-04-30 20:10:31 +0200
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>2015-04-30 20:12:48 +0200
commit470d7e17f986c1eeb1c98d18150c25e1b7375fb3 (patch)
tree7ad5c94a4922168db1089cdd41a398437029d803 /src/libsystemd-terminal/idev.c
parente7e90a8eee056fd12c8ad83470143f7798240dbc (diff)
terminal: update for simpler sd-bus api's
Diffstat (limited to 'src/libsystemd-terminal/idev.c')
-rw-r--r--src/libsystemd-terminal/idev.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/libsystemd-terminal/idev.c b/src/libsystemd-terminal/idev.c
index 44be7c30d2..0ba2b28ab7 100644
--- a/src/libsystemd-terminal/idev.c
+++ b/src/libsystemd-terminal/idev.c
@@ -428,8 +428,7 @@ idev_session *idev_find_session(idev_context *c, const char *name) {
return hashmap_get(c->session_map, name);
}
-static int session_resume_device_fn(sd_bus *bus,
- sd_bus_message *signal,
+static int session_resume_device_fn(sd_bus_message *signal,
void *userdata,
sd_bus_error *ret_error) {
idev_session *s = userdata;
@@ -451,8 +450,7 @@ static int session_resume_device_fn(sd_bus *bus,
return 0;
}
-static int session_pause_device_fn(sd_bus *bus,
- sd_bus_message *signal,
+static int session_pause_device_fn(sd_bus_message *signal,
void *userdata,
sd_bus_error *ret_error) {
idev_session *s = userdata;