X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fbasic%2Fstrv.h;h=682bb3f7513fead192e991d675ae3290d9c4c122;hb=34c7fcb14d705141c71b5b63a2f044a51ffbd92b;hp=d1dbe83d3c265b39120d86846fe5279bb9e53896;hpb=d1325d57413c007e17847074c70005c40e32bc9d;p=elogind.git diff --git a/src/basic/strv.h b/src/basic/strv.h index d1dbe83d3..682bb3f75 100644 --- a/src/basic/strv.h +++ b/src/basic/strv.h @@ -81,7 +81,7 @@ char *strv_join(char **l, const char *separator); char **strv_parse_nulstr(const char *s, size_t l); char **strv_split_nulstr(const char *s); -bool strv_overlap(char **a, char **b) _pure_; +// UNNEEDED bool strv_overlap(char **a, char **b) _pure_; #define STRV_FOREACH(s, l) \ for ((s) = (l); (s) && *(s); (s)++) @@ -94,8 +94,8 @@ bool strv_overlap(char **a, char **b) _pure_; #define STRV_FOREACH_PAIR(x, y, l) \ for ((x) = (l), (y) = (x+1); (x) && *(x) && *(y); (x) += 2, (y) = (x + 1)) -char **strv_sort(char **l); -void strv_print(char **l); +// UNNEEDED char **strv_sort(char **l); +// UNNEEDED void strv_print(char **l); #define STRV_MAKE(...) ((char**) ((const char*[]) { __VA_ARGS__, NULL }))