summaryrefslogtreecommitdiff
path: root/src/core/unit.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-04-21 02:17:01 +0200
committerLennart Poettering <lennart@poettering.net>2015-04-21 02:17:01 +0200
commit4940c0b0b621c0d5a4a3c1f3bc281ecba6151c58 (patch)
tree048feca72ac5e8ed45cbcfac7e4f3c0cb995e51f /src/core/unit.h
parent98b32556701f2cc80495488b5d724577637540f6 (diff)
service: make kill operation mapping explicit
Diffstat (limited to 'src/core/unit.h')
-rw-r--r--src/core/unit.h2
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) {