X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fshared%2Fpath-lookup.h;h=9dee85f9673d113983b741085197406c8593d04d;hb=44a6b1b68029833893f6e9cee35aa27a974038f6;hp=baef62228af0e35f8da0a7b98de364ae4bc62924;hpb=2f79c10e9aef916efbcf29315eea8c25d0a50ac4;p=elogind.git diff --git a/src/shared/path-lookup.h b/src/shared/path-lookup.h index baef62228..9dee85f96 100644 --- a/src/shared/path-lookup.h +++ b/src/shared/path-lookup.h @@ -36,8 +36,8 @@ typedef enum SystemdRunningAs { _SYSTEMD_RUNNING_AS_INVALID = -1 } SystemdRunningAs; -const char* systemd_running_as_to_string(SystemdRunningAs i); -SystemdRunningAs systemd_running_as_from_string(const char *s); +const char* systemd_running_as_to_string(SystemdRunningAs i) _const_; +SystemdRunningAs systemd_running_as_from_string(const char *s) _pure_; int user_config_home(char **config_home);