diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-04-21 02:17:01 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-04-21 02:17:01 +0200 |
commit | 4940c0b0b621c0d5a4a3c1f3bc281ecba6151c58 (patch) | |
tree | 048feca72ac5e8ed45cbcfac7e4f3c0cb995e51f /src/core/unit.h | |
parent | 98b32556701f2cc80495488b5d724577637540f6 (diff) |
service: make kill operation mapping explicit
Diffstat (limited to 'src/core/unit.h')
-rw-r--r-- | src/core/unit.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/unit.h b/src/core/unit.h index 11242c2a00..260dc451c7 100644 --- a/src/core/unit.h +++ b/src/core/unit.h @@ -52,6 +52,8 @@ typedef enum KillOperation { KILL_TERMINATE, KILL_KILL, KILL_ABORT, + _KILL_OPERATION_MAX, + _KILL_OPERATION_INVALID = -1 } KillOperation; static inline bool UNIT_IS_ACTIVE_OR_RELOADING(UnitActiveState t) { |