path_lookup: moved _cleanup_lookup_paths_free_ from install.c to path-lookup.h

This commit is contained in:
Daniel Buch
2013-10-27 11:51:22 -04:00
committed by Zbigniew Jędrzejewski-Szmek
parent a501033335
commit fb15be8395
3 changed files with 3 additions and 4 deletions
-1
View File
@@ -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) {
+2
View File
@@ -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_;