]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/core/slice.h
Merge pull request #2495 from heftig/master
[thirdparty/systemd.git] / src / core / slice.h
index ac648e56f82d226f6683ee928ef64686f8904103..c9f3f61067bca14da53622d8f55934ebddec9ca6 100644 (file)
@@ -1,5 +1,3 @@
-/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
-
 #pragma once
 
 /***
 
 typedef struct Slice Slice;
 
-
-typedef enum SliceState {
-        SLICE_DEAD,
-        SLICE_ACTIVE,
-        _SLICE_STATE_MAX,
-        _SLICE_STATE_INVALID = -1
-} SliceState;
-
 struct Slice {
         Unit meta;
 
@@ -40,6 +30,3 @@ struct Slice {
 };
 
 extern const UnitVTable slice_vtable;
-
-const char* slice_state_to_string(SliceState i) _const_;
-SliceState slice_state_from_string(const char *s) _pure_;