summaryrefslogtreecommitdiff
path: root/src/libudev/strv.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libudev/strv.h')
-rw-r--r--src/libudev/strv.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/libudev/strv.h b/src/libudev/strv.h
index aaab71fc34..821610ba19 100644
--- a/src/libudev/strv.h
+++ b/src/libudev/strv.h
@@ -26,8 +26,6 @@
#include "macro.h"
-char *strv_find(char **l, const char *name) _pure_;
-
void strv_free(char **l);
static inline void strv_freep(char ***l) {
strv_free(*l);
@@ -38,16 +36,9 @@ static inline void strv_freep(char ***l) {
char **strv_copy(char * const *l);
unsigned strv_length(char * const *l) _pure_;
-char **strv_merge(char **a, char **b);
-char **strv_append(char **l, const char *s);
-int strv_extend(char ***l, const char *value);
-int strv_push(char ***l, char *value);
-
char **strv_remove(char **l, const char *s);
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);
@@ -59,11 +50,6 @@ static inline bool strv_isempty(char * const *l) {
return !l || !*l;
}
-char **strv_split(const char *s, const char *separator);
-char **strv_split_quoted(const char *s);
-
-char **strv_split_nulstr(const char *s);
-
#define STRV_FOREACH(s, l) \
for ((s) = (l); (s) && *(s); (s)++)