summaryrefslogtreecommitdiff
path: root/src/core/slice.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/slice.h')
-rw-r--r--src/core/slice.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/core/slice.h b/src/core/slice.h
index ac648e56f8..c9f3f61067 100644
--- a/src/core/slice.h
+++ b/src/core/slice.h
@@ -1,5 +1,3 @@
-/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
-
#pragma once
/***
@@ -23,14 +21,6 @@
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_;