From 6d0274f11547a0f11200bb82bf598a5a253e12cf Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 17 Oct 2012 02:50:09 +0200 Subject: 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. --- src/shared/strv.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/shared/strv.c') diff --git a/src/shared/strv.c b/src/shared/strv.c index c8d856344c..822b2dc888 100644 --- a/src/shared/strv.c +++ b/src/shared/strv.c @@ -64,6 +64,14 @@ void strv_free(char **l) { free(l); } +void strv_freep(char ***l) { + if (!l) + return; + + strv_free(*l); + *l = NULL; +} + char **strv_copy(char **l) { char **r, **k; -- cgit v1.2.3-54-g00ecf