aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2017-09-29 17:57:34 +0200
committerLennart Poettering <lennart@poettering.net>2017-09-29 17:57:34 +0200
commit532f808fd15ec2cd91777ab3ad9afce2670ebac5 (patch)
tree18b27f0cd75a6648728c17e7809ba238f0710851 /src/libsystemd/sd-bus/bus-control.c
parentsd-bus: when showing brief message info show error name in debug out put too (diff)
downloadsystemd-532f808fd15ec2cd91777ab3ad9afce2670ebac5.tar.gz
systemd-532f808fd15ec2cd91777ab3ad9afce2670ebac5.tar.bz2
systemd-532f808fd15ec2cd91777ab3ad9afce2670ebac5.zip
sd-bus: drop match cookie concept
THe match cookie was used by kdbus to identify matches we install uniquely. But given that kdbus is gone, the cookie serves no process anymore, let's kill it.
Diffstat (limited to 'src/libsystemd/sd-bus/bus-control.c')
-rw-r--r--src/libsystemd/sd-bus/bus-control.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/libsystemd/sd-bus/bus-control.c b/src/libsystemd/sd-bus/bus-control.c
index 1a87d3a0e..3c770a6e2 100644
--- a/src/libsystemd/sd-bus/bus-control.c
+++ b/src/libsystemd/sd-bus/bus-control.c
@@ -650,8 +650,7 @@ int bus_add_match_internal(
sd_bus *bus,
const char *match,
struct bus_match_component *components,
- unsigned n_components,
- uint64_t cookie) {
+ unsigned n_components) {
assert(bus);
@@ -686,8 +685,7 @@ static int bus_remove_match_internal_dbus1(
int bus_remove_match_internal(
sd_bus *bus,
- const char *match,
- uint64_t cookie) {
+ const char *match) {
assert(bus);