Rename strv_split_extract() to strv_split_full()

Now that _full() is gone, we can rename _extract() to have the usual suffix
we use for the more featureful version.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2020-09-09 09:34:55 +02:00
parent 03b62851a9
commit 90e30d767a
12 changed files with 34 additions and 34 deletions
+2 -2
View File
@@ -74,12 +74,12 @@ static inline bool strv_isempty(char * const *l) {
char **strv_split_newlines(const char *s);
int strv_split_extract(char ***t, const char *s, const char *separators, ExtractFlags flags);
int strv_split_full(char ***t, const char *s, const char *separators, ExtractFlags flags);
static inline char **strv_split(const char *s, const char *separators) {
char **ret;
int r;
r = strv_split_extract(&ret, s, separators, 0);
r = strv_split_full(&ret, s, separators, 0);
if (r < 0)
return NULL;