aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-09-28 14:30:36 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-09-28 15:09:34 -0400
commit7e55de3b9648a47286a9b49253f95b1e0d65287a (patch)
tree4e26d493e0ebfffe226f478cab035f4b7f08b2c1 /src/core/target.h
parentsystemctl: add --state=help (diff)
downloadsystemd-7e55de3b9648a47286a9b49253f95b1e0d65287a.tar.gz
systemd-7e55de3b9648a47286a9b49253f95b1e0d65287a.tar.bz2
systemd-7e55de3b9648a47286a9b49253f95b1e0d65287a.zip
Move all unit states to basic/ and extend systemctl --state=help
Diffstat (limited to 'src/core/target.h')
-rw-r--r--src/core/target.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/core/target.h b/src/core/target.h
index 0a25ef469..3cc6c07bf 100644
--- a/src/core/target.h
+++ b/src/core/target.h
@@ -23,14 +23,6 @@
typedef struct Target Target;
-
-typedef enum TargetState {
- TARGET_DEAD,
- TARGET_ACTIVE,
- _TARGET_STATE_MAX,
- _TARGET_STATE_INVALID = -1
-} TargetState;
-
struct Target {
Unit meta;
@@ -38,6 +30,3 @@ struct Target {
};
extern const UnitVTable target_vtable;
-
-const char* target_state_to_string(TargetState i) _const_;
-TargetState target_state_from_string(const char *s) _pure_;