sd-bus: sd_bus_slot_get_description() should return const strings
authorDavid Herrmann <dh.herrmann@gmail.com>
Thu, 9 Jul 2015 08:40:41 +0000 (10:40 +0200)
committerDavid Herrmann <dh.herrmann@gmail.com>
Thu, 9 Jul 2015 08:44:04 +0000 (10:44 +0200)
commit839b6dbba9a6e4f08ddc2ae6d2b2b260d76f7c74
tree647b16ec3160c269516056e1663b822fb4407e4e
parenta0f7095171f03517bb44f91c67098ddd53537b54
sd-bus: sd_bus_slot_get_description() should return const strings

All other *_get_description() functions use 'const char**', so make sure
sd_bus_slot_get_description() does the same.

This changes API, but ABI stays stable. I think this is fine, but I
wouldn't mind bumping SONAME.

Reported in #528.
src/libsystemd/sd-bus/bus-slot.c
src/systemd/sd-bus.h