diff options
| author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2015-07-05 14:39:14 -0400 |
|---|---|---|
| committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2015-07-05 15:10:30 -0400 |
| commit | 31baccc855b48adde5173a31037bb1b82c42f7aa (patch) | |
| tree | f932694ba82c76714400b09d08e7ebea435c1c51 /systemd/strv.h | |
| parent | 022c9b5be4a1edf77bf73566a89ce41397f72147 (diff) | |
| download | python-systemd-31baccc855b48adde5173a31037bb1b82c42f7aa.tar.gz | |
build-sys: update setup.py to build everything
Diffstat (limited to 'systemd/strv.h')
| -rw-r--r-- | systemd/strv.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/systemd/strv.h b/systemd/strv.h new file mode 100644 index 0000000..942849a --- /dev/null +++ b/systemd/strv.h @@ -0,0 +1,26 @@ +/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/ + +/*** + This file is part of systemd. + + Copyright 2010 Lennart Poettering + + systemd is free software; you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1 of the License, or + (at your option) any later version. + + systemd is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with systemd; If not, see <http://www.gnu.org/licenses/>. +***/ + +#include "macro.h" + +char **strv_free(char **l); +DEFINE_TRIVIAL_CLEANUP_FUNC(char**, strv_free); +#define _cleanup_strv_free_ _cleanup_(strv_freep) |
