summaryrefslogtreecommitdiff
path: root/src/core/target.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/target.h')
-rw-r--r--src/core/target.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/target.h b/src/core/target.h
index 1676553add..a5398d9e98 100644
--- a/src/core/target.h
+++ b/src/core/target.h
@@ -40,5 +40,5 @@ struct Target {
extern const UnitVTable target_vtable;
-const char* target_state_to_string(TargetState i);
-TargetState target_state_from_string(const char *s);
+const char* target_state_to_string(TargetState i) _const_;
+TargetState target_state_from_string(const char *s) _pure_;