chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sd-login: teach sd_pid_get_unit() proper handling of instantiated services
[elogind.git]
/
src
/
timer.h
diff --git
a/src/timer.h
b/src/timer.h
index 814d9b203752876432698c7c754ae39d654c6c27..ad55cf7c8791786a5c56dede8d59a469eb65c0f1 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_
MAINTENANCE
,
+ TIMER_
FAILED
,
_TIMER_STATE_MAX,
_TIMER_STATE_INVALID = -1
} TimerState;
_TIMER_STATE_MAX,
_TIMER_STATE_INVALID = -1
} TimerState;
@@
-63,7
+63,7
@@
struct Timer {
usec_t next_elapse;
TimerState state, deserialized_state;
usec_t next_elapse;
TimerState state, deserialized_state;
- Unit
*
unit;
+ Unit
Ref
unit;
Watch timer_watch;
Watch timer_watch;