chiark / gitweb /
strv: return NULL from strv_free()
[elogind.git] / src / shared / strv.h
index 518c4c2aa8b94da5d013a97127ef3d27595a8e43..a80ccd6427cf6bf697188f4fc50d3d94f4409300 100644 (file)
@@ -31,7 +31,7 @@ char *strv_find(char **l, const char *name) _pure_;
 char *strv_find_prefix(char **l, const char *name) _pure_;
 char *strv_find_startswith(char **l, const char *name) _pure_;
 
-void strv_free(char **l);
+char **strv_free(char **l);
 DEFINE_TRIVIAL_CLEANUP_FUNC(char**, strv_free);
 #define _cleanup_strv_free_ _cleanup_(strv_freep)