chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
unit: rework trigger dependency logic
[elogind.git]
/
src
/
shared
/
strv.h
diff --git
a/src/shared/strv.h
b/src/shared/strv.h
index 4cd3865e1db5238b50d19fe099109d0c496c3561..92696b02fa7709792678d2d480b3f7f017e92684 100644
(file)
--- a/
src/shared/strv.h
+++ b/
src/shared/strv.h
@@
-34,6
+34,8
@@
static inline void strv_freep(char ***l) {
strv_free(*l);
}
+#define _cleanup_strv_free_ _cleanup_(strv_freep)
+
char **strv_copy(char * const *l) _malloc_;
unsigned strv_length(char * const *l);