summaryrefslogtreecommitdiff
path: root/src/systemd/src/basic/strv.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/systemd/src/basic/strv.h')
-rw-r--r--src/systemd/src/basic/strv.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/systemd/src/basic/strv.h b/src/systemd/src/basic/strv.h
index e9e6063f58..5f1803d87d 100644
--- a/src/systemd/src/basic/strv.h
+++ b/src/systemd/src/basic/strv.h
@@ -54,8 +54,9 @@ bool strv_equal(char **a, char **b);
#define strv_contains(l, s) (!!strv_find((l), (s)))
-char **strv_new(const char *x, ...) _sentinel_;
+char **strv_new_internal(const char *x, ...) _sentinel_;
char **strv_new_ap(const char *x, va_list ap);
+#define strv_new(...) strv_new_internal(__VA_ARGS__, NULL)
#define STRV_IGNORE ((const char *) -1)