summaryrefslogtreecommitdiff
path: root/src/shared/path-lookup.h
diff options
context:
space:
mode:
authorDaniel Buch <boogiewasthere@gmail.com>2013-10-27 12:45:52 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-10-27 11:51:22 -0400
commitfb15be839500c39f6c2f006f45306d439e1a7add (patch)
treee95c243d6316ab5c728ff3bd8db68db2f65eb54a /src/shared/path-lookup.h
parenta501033335ed402c8f7e86fe41a15531ba69abd7 (diff)
path_lookup: moved _cleanup_lookup_paths_free_ from install.c to path-lookup.h
Diffstat (limited to 'src/shared/path-lookup.h')
-rw-r--r--src/shared/path-lookup.h2
1 files changed, 2 insertions, 0 deletions
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_;