From 4940c0b0b621c0d5a4a3c1f3bc281ecba6151c58 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 21 Apr 2015 02:17:01 +0200 Subject: service: make kill operation mapping explicit --- src/core/unit.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/core/unit.h') 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) { -- cgit v1.2.3-54-g00ecf