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.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2020-05-05 22:40:37 +02:00
parent 4faa530cf6
commit f6e9aa9e45
16 changed files with 189 additions and 119 deletions
-1
View File
@@ -925,6 +925,5 @@ const UnitVTable timer_vtable = {
.time_change = timer_time_change,
.timezone_change = timer_timezone_change,
.bus_vtable = bus_timer_vtable,
.bus_set_property = bus_timer_set_property,
};