From fb15be839500c39f6c2f006f45306d439e1a7add Mon Sep 17 00:00:00 2001 From: Daniel Buch Date: Sun, 27 Oct 2013 12:45:52 +0100 Subject: path_lookup: moved _cleanup_lookup_paths_free_ from install.c to path-lookup.h --- src/shared/install.c | 1 - src/shared/path-lookup.h | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'src/shared') diff --git a/src/shared/install.c b/src/shared/install.c index 3bced1a5ee..987b36d40b 100644 --- a/src/shared/install.c +++ b/src/shared/install.c @@ -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) { diff --git a/src/shared/path-lookup.h b/src/shared/path-lookup.h index 9dee85f967..a3ef824a86 100644 --- a/src/shared/path-lookup.h +++ b/src/shared/path-lookup.h @@ -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_; -- cgit v1.2.3-54-g00ecf