Systemd/src/timedate
Zbigniew Jędrzejewski-Szmek fedfcdee6f Make bus errno mappings non-static
__attribute__((used)) is not enough to force static variables to
be carried over to a compiled program from a library. Mappings defined
in libsystemd-shared.a were not visible in the compiled binaries.
To ensure that the mappings are present in the final binary, the
tables are made non-static and are given a real unique name by which
they can be referenced.

To use a mapping defined not in the local compilation unit (e.g. in
a library) a reference to the mapping table is added. This is done
by including a declaration in the header file.

Expected values in test-engine are fixed to reflect the new mappings.
2014-10-31 11:32:00 -04:00
..
.gitignore login: move seat udev rules to login subdir 2012-01-22 18:32:13 +01:00
Makefile build-sys: add stub makefiles to subdirs 2012-01-05 16:29:21 +01:00
org.freedesktop.timedate1.conf relicense to LGPLv2.1 (with exceptions) 2012-04-12 00:24:39 +02:00
org.freedesktop.timedate1.policy.in polkit: add "imply" rules to a number of polkit actions 2012-12-31 21:24:26 +01:00
org.freedesktop.timedate1.service relicense to LGPLv2.1 (with exceptions) 2012-04-12 00:24:39 +02:00
timedatectl.c bus: always explicitly close bus from main programs 2014-08-04 16:25:24 +02:00
timedated.c Make bus errno mappings non-static 2014-10-31 11:32:00 -04:00