chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
main: fix auto restarting of units after a configuration reload
[elogind.git]
/
src
/
timer.h
diff --git
a/src/timer.h
b/src/timer.h
index 69c5609a9c5631fc05e987c5ea0c8ebdc6acc724..6510ed2844a19ff73e3eddc1a18811ded6b1ace0 100644
(file)
--- a/
src/timer.h
+++ b/
src/timer.h
@@
-31,7
+31,7
@@
typedef enum TimerState {
TIMER_WAITING,
TIMER_RUNNING,
TIMER_ELAPSED,
TIMER_WAITING,
TIMER_RUNNING,
TIMER_ELAPSED,
- TIMER_MAINT
AI
NANCE,
+ TIMER_MAINT
E
NANCE,
_TIMER_STATE_MAX,
_TIMER_STATE_INVALID = -1
} TimerState;
_TIMER_STATE_MAX,
_TIMER_STATE_INVALID = -1
} TimerState;
@@
-61,11
+61,9
@@
struct Timer {
Meta meta;
LIST_HEAD(TimerValue, values);
Meta meta;
LIST_HEAD(TimerValue, values);
-
- TimerState state, deserialized_state;
-
usec_t next_elapse;
usec_t next_elapse;
+ TimerState state, deserialized_state;
Unit *unit;
Watch timer_watch;
Unit *unit;
Watch timer_watch;