summaryrefslogtreecommitdiff
path: root/src/basic/strv.h
diff options
context:
space:
mode:
authorSven Eden <yamakuzure@gmx.net>2017-07-19 00:56:25 +0200
committerSven Eden <yamakuzure@gmx.net>2017-07-19 13:04:57 +0200
commita97a730270418e53e9400de5dce7b07c7dacd19a (patch)
treebac97ceff71bef555a8612f90d2a746189592791 /src/basic/strv.h
parentb6e675bcef8c3dca1292269795c795195ea6d1e7 (diff)
Prep v233.3: Unmask various functions for future coverage tests.
These functions, although not used by elogind itself, are mostly tiny and crucial for important tests to work.
Diffstat (limited to 'src/basic/strv.h')
-rw-r--r--src/basic/strv.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/basic/strv.h b/src/basic/strv.h
index dafb4fdc1..1433e896d 100644
--- a/src/basic/strv.h
+++ b/src/basic/strv.h
@@ -68,9 +68,9 @@ char **strv_remove(char **l, const char *s);
char **strv_uniq(char **l);
#if 0 /// UNNEEDED by elogind
bool strv_is_uniq(char **l);
+#endif // 0
bool strv_equal(char **a, char **b);
-#endif // 0
#define strv_contains(l, s) (!!strv_find((l), (s)))
@@ -122,9 +122,7 @@ bool strv_overlap(char **a, char **b) _pure_;
for ((x) = (l), (y) = (x+1); (x) && *(x) && *(y); (x) += 2, (y) = (x + 1))
char **strv_sort(char **l);
-#if 0 /// UNNEEDED by elogind
void strv_print(char **l);
-#endif // 0
#define STRV_MAKE(...) ((char**) ((const char*[]) { __VA_ARGS__, NULL }))