pid1: convert to the new scheme
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 23 Apr 2020 21:50:12 +0000 (23:50 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 5 May 2020 20:40:37 +0000 (22:40 +0200)
commitf6e9aa9e4554004d501dac9fd4df220db7080dec
treea4c9b03c077cbcf7d4a5d764894a3215293b6d14
parent4faa530cf633f9354c7368e6c1888c14c6516da0
pid1: convert to the new scheme

In all the other cases, I think the code was clearer with the static table.
Here, not so much. And because of the existing dump code, the vtables cannot
be made static and need to remain exported. I still think it's worth to do the
change to have the cmdline introspection, but I'm disappointed with how this
came out.
16 files changed:
src/core/automount.c
src/core/dbus-job.c
src/core/dbus-job.h
src/core/dbus-unit.h
src/core/dbus.c
src/core/device.c
src/core/mount.c
src/core/path.c
src/core/scope.c
src/core/service.c
src/core/slice.c
src/core/socket.c
src/core/swap.c
src/core/target.c
src/core/timer.c
src/core/unit.h