strv: remove strv_extend_front()

It's entirely identical to strv_push_prepend() hence drop the duplicate
definition.
This commit is contained in:
Lennart Poettering
2024-01-17 11:32:11 +01:00
parent a43431067e
commit b9d37112f2
3 changed files with 1 additions and 38 deletions
-1
View File
@@ -56,7 +56,6 @@ static inline int strv_extend(char ***l, const char *value) {
}
int strv_extendf(char ***l, const char *format, ...) _printf_(2,3);
int strv_extend_front(char ***l, const char *value);
int strv_push_with_size(char ***l, size_t *n, char *value);
static inline int strv_push(char ***l, char *value) {