sd-event: make event_source_time_prioq_reshuffle() accept all event source type
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 14 Jun 2021 17:03:02 +0000 (02:03 +0900)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 23 Jul 2021 14:57:21 +0000 (16:57 +0200)
commit63f3d322f0b63ccf655fa554484124696f388041
tree460bd9485fd862f86168ffb646dd12f4b8d233fe
parent04a76831e7987e4e1f25f7d8639e527cc8e56b48
sd-event: make event_source_time_prioq_reshuffle() accept all event source type

But it does nothing for an event source which is neither a timer nor
ratelimited.

(cherry picked from commit 5c08c7ab23dbf02aaf4e4bbae8e08a195da230a4)
src/libsystemd/sd-event/sd-event.c