From 59ccf93d97f0a37522e5f4fbf5cc0288dbedf495 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 21 Aug 2014 19:08:30 +0200 Subject: install: simplify usage of _cleanup_ macros --- src/shared/path-lookup.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/shared/path-lookup.h') 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) -- cgit v1.2.3-54-g00ecf