chiark / gitweb /
systemctl: implement delete command
[elogind.git] / src / timer.h
index 69c5609a9c5631fc05e987c5ea0c8ebdc6acc724..6510ed2844a19ff73e3eddc1a18811ded6b1ace0 100644 (file)
@@ -31,7 +31,7 @@ typedef enum TimerState {
         TIMER_WAITING,
         TIMER_RUNNING,
         TIMER_ELAPSED,
-        TIMER_MAINTAINANCE,
+        TIMER_MAINTENANCE,
         _TIMER_STATE_MAX,
         _TIMER_STATE_INVALID = -1
 } TimerState;
@@ -61,11 +61,9 @@ struct Timer {
         Meta meta;
 
         LIST_HEAD(TimerValue, values);
-
-        TimerState state, deserialized_state;
-
         usec_t next_elapse;
 
+        TimerState state, deserialized_state;
         Unit *unit;
 
         Watch timer_watch;