sd-bus: rework ELF error mapping table magic
authorLennart Poettering <lennart@poettering.net>
Sat, 6 Dec 2014 01:39:15 +0000 (02:39 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 8 Dec 2014 13:55:22 +0000 (14:55 +0100)
commit5f86c1f4c43ee9caa120d130e9b89d3fd25124c0
tree34908816bfd429ba578f99626eb2deabc1ed631a
parent8b5e2af10830d55b2032e6c79d0cd1f959bb5b7f
sd-bus: rework ELF error mapping table magic

The ELF magic cannot work for consumers of our shard library, since they
are in a different module. Hence make all the ELF magic private, and
instead introduce a public function to register additional static
mapping table.
src/libsystemd/sd-bus/bus-error.c
src/libsystemd/sd-bus/bus-error.h
src/libsystemd/sd-bus/test-bus-error.c
src/shared/bus-errors.c
src/shared/bus-errors.h
src/shared/macro.h
src/systemd/sd-bus.h
src/timedate/timedated.c