path_lookup: moved _cleanup_lookup_paths_free_ from install.c to path-lookup.h
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
parent
a501033335
commit
fb15be8395
@@ -44,7 +44,6 @@ typedef struct {
|
||||
Hashmap *have_installed;
|
||||
} InstallContext;
|
||||
|
||||
#define _cleanup_lookup_paths_free_ _cleanup_(lookup_paths_free)
|
||||
#define _cleanup_install_context_done_ _cleanup_(install_context_done)
|
||||
|
||||
static int lookup_paths_init_from_scope(LookupPaths *paths, UnitFileScope scope) {
|
||||
|
||||
@@ -36,6 +36,8 @@ typedef enum SystemdRunningAs {
|
||||
_SYSTEMD_RUNNING_AS_INVALID = -1
|
||||
} SystemdRunningAs;
|
||||
|
||||
#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_;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user