summaryrefslogtreecommitdiff
path: root/src/shared/path-lookup.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-08-21 19:08:30 +0200
committerLennart Poettering <lennart@poettering.net>2014-08-21 19:08:30 +0200
commit59ccf93d97f0a37522e5f4fbf5cc0288dbedf495 (patch)
treeff9f87264995c9534f8ce1c850f8d97d163ea976 /src/shared/path-lookup.h
parent96fb8242cc1ef6b0e28f6c86a4f57950095dd7f1 (diff)
install: simplify usage of _cleanup_ macros
Diffstat (limited to 'src/shared/path-lookup.h')
-rw-r--r--src/shared/path-lookup.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/path-lookup.h b/src/shared/path-lookup.h
index 2fe8173f44..4bbd47ec39 100644
--- a/src/shared/path-lookup.h
+++ b/src/shared/path-lookup.h
@@ -38,8 +38,6 @@ typedef enum SystemdRunningAs {
_SYSTEMD_RUNNING_AS_INVALID = -1
} SystemdRunningAs;
-#define _cleanup_lookup_paths_free_ _cleanup_(lookup_paths_free)
-
int user_config_home(char **config_home);
int lookup_paths_init(LookupPaths *p,
@@ -50,3 +48,5 @@ int lookup_paths_init(LookupPaths *p,
const char *generator_early,
const char *generator_late);
void lookup_paths_free(LookupPaths *p);
+
+#define _cleanup_lookup_paths_free_ _cleanup_(lookup_paths_free)