From 8742514c1a1a5bc0f423da9101deb66115e187ff Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sun, 25 Nov 2012 00:32:40 +0100 Subject: timer: recalculate next elapse for calendar timer units when the system clock is changed --- src/core/unit.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/core/unit.h') diff --git a/src/core/unit.h b/src/core/unit.h index 11804d8bcf..b40f034de1 100644 --- a/src/core/unit.h +++ b/src/core/unit.h @@ -358,6 +358,9 @@ struct UnitVTable { /* Return the set of units that are following each other */ int (*following_set)(Unit *u, Set **s); + /* Called whenever CLOCK_REALTIME made a jump */ + void (*time_change)(Unit *u); + /* This is called for each unit type and should be used to * enumerate existing devices and load them. However, * everything that is loaded here should still stay in -- cgit v1.2.3-54-g00ecf