X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fshared%2Fpath-lookup.h;h=a3ef824a8603e42e59775bc3fdaa8d7ad5434b8e;hp=baef62228af0e35f8da0a7b98de364ae4bc62924;hb=b5d742138f71e87312541a89aac5657015f50f48;hpb=f274ece0f76b5709408821e317e87aef76123db6 diff --git a/src/shared/path-lookup.h b/src/shared/path-lookup.h index baef62228..a3ef824a8 100644 --- a/src/shared/path-lookup.h +++ b/src/shared/path-lookup.h @@ -36,8 +36,10 @@ 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); +#define _cleanup_lookup_paths_free_ _cleanup_(lookup_paths_free) + +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);