summaryrefslogtreecommitdiff
path: root/src/login/logind-action.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/login/logind-action.h')
-rw-r--r--src/login/logind-action.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/login/logind-action.h b/src/login/logind-action.h
index df080d98ed..552713637d 100644
--- a/src/login/logind-action.h
+++ b/src/login/logind-action.h
@@ -46,8 +46,8 @@ int manager_handle_action(
bool ignore_inhibited,
bool is_edge);
-const char* handle_action_to_string(HandleAction h);
-HandleAction handle_action_from_string(const char *s);
+const char* handle_action_to_string(HandleAction h) _const_;
+HandleAction handle_action_from_string(const char *s) _pure_;
int config_parse_handle_action(const char *unit, const char *filename, unsigned line, const char *section, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata);