summaryrefslogtreecommitdiff
path: root/src/core/snapshot.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/snapshot.h')
-rw-r--r--src/core/snapshot.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/snapshot.h b/src/core/snapshot.h
index 9662d93164..56f87cff4d 100644
--- a/src/core/snapshot.h
+++ b/src/core/snapshot.h
@@ -46,5 +46,5 @@ extern const UnitVTable snapshot_vtable;
int snapshot_create(Manager *m, const char *name, bool cleanup, DBusError *e, Snapshot **s);
void snapshot_remove(Snapshot *s);
-const char* snapshot_state_to_string(SnapshotState i);
-SnapshotState snapshot_state_from_string(const char *s);
+const char* snapshot_state_to_string(SnapshotState i) _const_;
+SnapshotState snapshot_state_from_string(const char *s) _pure_;