diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-08-21 19:08:30 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-08-21 19:08:30 +0200 |
commit | 59ccf93d97f0a37522e5f4fbf5cc0288dbedf495 (patch) | |
tree | ff9f87264995c9534f8ce1c850f8d97d163ea976 /src/shared/path-lookup.h | |
parent | 96fb8242cc1ef6b0e28f6c86a4f57950095dd7f1 (diff) |
install: simplify usage of _cleanup_ macros
Diffstat (limited to 'src/shared/path-lookup.h')
-rw-r--r-- | src/shared/path-lookup.h | 4 |
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) |