diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2015-09-28 13:22:02 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2015-09-28 15:09:34 -0400 |
commit | 978c8b6347d61f5a792886ef1875a4df625fd65f (patch) | |
tree | efd1980b90d126c0987289ace1353adc7e9ab6b7 /src/core/unit.c | |
parent | 9dc5db34adbd6fa3d2ac08d9610d401ba69cde93 (diff) |
Move UnitActiveState to basic/
Preparation to allow systemctl to query the list of unit states.
Diffstat (limited to 'src/core/unit.c')
-rw-r--r-- | src/core/unit.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/core/unit.c b/src/core/unit.c index 3a6313e4a2..9cc48a8982 100644 --- a/src/core/unit.c +++ b/src/core/unit.c @@ -3729,14 +3729,3 @@ int unit_fail_if_symlink(Unit *u, const char* where) { return -ELOOP; } - -static const char* const unit_active_state_table[_UNIT_ACTIVE_STATE_MAX] = { - [UNIT_ACTIVE] = "active", - [UNIT_RELOADING] = "reloading", - [UNIT_INACTIVE] = "inactive", - [UNIT_FAILED] = "failed", - [UNIT_ACTIVATING] = "activating", - [UNIT_DEACTIVATING] = "deactivating" -}; - -DEFINE_STRING_TABLE_LOOKUP(unit_active_state, UnitActiveState); |