chiark / gitweb /
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)
committerSven Eden <yamakuzure@gmx.net>
Tue, 14 Mar 2017 09:06:01 +0000 (10:06 +0100)
commit8e2ad2f59c4d49d6fe22e84c9408d4a17465bc00
treed519e24a29fb2c32c8b880a3ee50b5cc14032e3c
parent8286423f0eaf8b4cd8229612bdcbeef381cf1a09
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/libelogind/sd-bus/bus-slot.c
src/systemd/sd-bus.h