summaryrefslogtreecommitdiff
path: root/src/shared/macro.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-10-17 02:50:09 +0200
committerLennart Poettering <lennart@poettering.net>2012-10-17 21:25:42 +0200
commit6d0274f11547a0f11200bb82bf598a5a253e12cf (patch)
treecdca61ea9c8a3c120e53c212dab318ffa141c129 /src/shared/macro.h
parent22349cee29b31cde7ef8582b4882475f553af97a (diff)
downloadsystemd-6d0274f11547a0f11200bb82bf598a5a253e12cf.tar.gz
timedatectl: introduce new command line client for timedated
Much like logind has a client in loginctl, and journald in journalctl introduce timedatectl, to change the system time (incl. RTC), timezones and related settings.
Diffstat (limited to 'src/shared/macro.h')
-rw-r--r--src/shared/macro.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/macro.h b/src/shared/macro.h
index dbdf5b3fb0..e930fdab53 100644
--- a/src/shared/macro.h
+++ b/src/shared/macro.h
@@ -192,6 +192,7 @@ static inline size_t IOVEC_INCREMENT(struct iovec *i, unsigned n, size_t k) {
#define _cleanup_close_ __attribute__((cleanup(closep)))
#define _cleanup_closedir_ __attribute__((cleanup(closedirp)))
#define _cleanup_umask_ __attribute__((cleanup(umaskp)))
+#define _cleanup_strv_free_ __attribute__((cleanup(strv_freep)))
#define VA_FORMAT_ADVANCE(format, ap) \
do { \