summaryrefslogtreecommitdiff
path: root/src/shared/install.h
diff options
context:
space:
mode:
authorDavid Strauss <david@davidstrauss.net>2014-05-21 20:38:11 -0700
committerDavid Strauss <david@davidstrauss.net>2014-05-21 20:38:11 -0700
commit8a1129c2f23142d1556f17ba2b5c32159a98f9dc (patch)
tree85419f8546d15a789da4f0939431dd451c58ed33 /src/shared/install.h
parent1ae8dc0b9e90ee34a6b7e1383956c65534ada973 (diff)
downloadsystemd-enabled-optimization.tar.gz
Working on legacy removal.enabled-optimization
Diffstat (limited to 'src/shared/install.h')
-rw-r--r--src/shared/install.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/shared/install.h b/src/shared/install.h
index fed7b1320b..11c5f8454e 100644
--- a/src/shared/install.h
+++ b/src/shared/install.h
@@ -106,3 +106,6 @@ UnitFileChangeType unit_file_change_type_from_string(const char *s) _pure_;
EnabledContext *enabled_context_new(void);
void enabled_context_free(EnabledContext *ec);
+DEFINE_TRIVIAL_CLEANUP_FUNC(EnabledContext*, enabled_context_free);
+
+#define _cleanup_enabled_context_free_ _cleanup_(enabled_context_freep)