diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-09-24 12:23:21 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-09-29 21:55:52 +0200 |
commit | e3ead6bb42f7c0f18d0ac100d33b71913fe4dcca (patch) | |
tree | de8cf6617b55f6aba1ae684d84e40dc95d62e799 /src/basic/strv.h | |
parent | 56a730fa568f6ad168cb77ed46e57c042325eedb (diff) | |
download | systemd-e3ead6bb42f7c0f18d0ac100d33b71913fe4dcca.tar.gz systemd-e3ead6bb42f7c0f18d0ac100d33b71913fe4dcca.tar.bz2 systemd-e3ead6bb42f7c0f18d0ac100d33b71913fe4dcca.zip |
systemctl: move strv_skip_first() out of systemctl.c
Make it generic, call it strv_skip() and move it to strv.[ch]
Diffstat (limited to 'src/basic/strv.h')
-rw-r--r-- | src/basic/strv.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/basic/strv.h b/src/basic/strv.h index 713e91f8f8..4c4b6526de 100644 --- a/src/basic/strv.h +++ b/src/basic/strv.h @@ -156,3 +156,5 @@ static inline bool strv_fnmatch_or_empty(char* const* patterns, const char *s, i } char ***strv_free_free(char ***l); + +char **strv_skip(char **l, size_t n); |