diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-09-30 22:32:09 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-09-30 22:32:09 +0200 |
commit | 23a749f2857088547c8ef3966e96b37c71510a1b (patch) | |
tree | a3739420ab6e9a18e997b3b54e179c9b1905d21c /src/core/unit.c | |
parent | 6ed796c827f7e89a7900713b132301bced1a73c6 (diff) | |
parent | 4ed2f1b1f106b84276eaf8cc4d27cca54653845e (diff) |
Merge pull request #1419 from keszybz/shell-completion
Shell completion tweaks
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 30d4e00c94..33c0317ce0 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); |