summaryrefslogtreecommitdiff
path: root/src/libsystemd-terminal/grdev-drm.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/grdev-drm.c
parente7e90a8eee056fd12c8ad83470143f7798240dbc (diff)
terminal: update for simpler sd-bus api's
Diffstat (limited to 'src/libsystemd-terminal/grdev-drm.c')
-rw-r--r--src/libsystemd-terminal/grdev-drm.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/libsystemd-terminal/grdev-drm.c b/src/libsystemd-terminal/grdev-drm.c
index 066a4d8b10..01a70fd320 100644
--- a/src/libsystemd-terminal/grdev-drm.c
+++ b/src/libsystemd-terminal/grdev-drm.c
@@ -2655,8 +2655,7 @@ static void managed_card_disable(grdev_card *card) {
grdrm_card_disable(&cm->card);
}
-static int managed_card_pause_device_fn(sd_bus *bus,
- sd_bus_message *signal,
+static int managed_card_pause_device_fn(sd_bus_message *signal,
void *userdata,
sd_bus_error *ret_error) {
managed_card *cm = userdata;
@@ -2744,8 +2743,7 @@ static int managed_card_pause_device_fn(sd_bus *bus,
return 0;
}
-static int managed_card_resume_device_fn(sd_bus *bus,
- sd_bus_message *signal,
+static int managed_card_resume_device_fn(sd_bus_message *signal,
void *userdata,
sd_bus_error *ret_error) {
managed_card *cm = userdata;
@@ -2847,8 +2845,7 @@ static int managed_card_setup_bus(managed_card *cm) {
return 0;
}
-static int managed_card_take_device_fn(sd_bus *bus,
- sd_bus_message *reply,
+static int managed_card_take_device_fn(sd_bus_message *reply,
void *userdata,
sd_bus_error *ret_error) {
managed_card *cm = userdata;