X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=strv.h;h=7ee9a95a8f5c68d35ebc46b0f9f389e9fe1d420c;hp=9bdf287a2108b7ffcd8c6e55d4d7bfaf4aac4f1e;hb=257eca1a9c2d0ef110c21e74952e9723d778e267;hpb=dad08730c43807c5b9f9aa3f164c31997e66eea3 diff --git a/strv.h b/strv.h index 9bdf287a2..7ee9a95a8 100644 --- a/strv.h +++ b/strv.h @@ -39,6 +39,7 @@ char **strv_uniq(char **l); #define strv_contains(l, s) (!!strv_find((l), (s))) char **strv_new(const char *x, ...) _sentinel; +char **strv_new_ap(const char *x, va_list ap); static inline bool strv_isempty(char **l) { return !l || !*l;