chiark / gitweb /
timer: make sure we restart timers even if units are still running or if one of their...
[elogind.git] / src / core / timer.h
index c145348c7d82fef19b01e0c01db225e6df87adb4..fed15e9165aef2fafc8f4c0e6e750a31f7b2c1d0 100644 (file)
@@ -74,15 +74,14 @@ struct Timer {
         usec_t next_elapse_realtime;
 
         TimerState state, deserialized_state;
-        UnitRef unit;
 
         Watch monotonic_watch;
         Watch realtime_watch;
 
         TimerResult result;
-};
 
-void timer_unit_notify(Unit *u, UnitActiveState new_state);
+        usec_t last_trigger_monotonic;
+};
 
 void timer_free_values(Timer *t);