Remove string_free_erase

This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2019-07-10 13:48:55 +02:00
parent c7dd209526
commit 9ae4ef49cd
5 changed files with 5 additions and 12 deletions

View File

@@ -199,10 +199,6 @@ int free_and_strndup(char **p, const char *s, size_t l);
char *string_erase(char *x);
char *string_free_erase(char *s);
DEFINE_TRIVIAL_CLEANUP_FUNC(char *, string_free_erase);
#define _cleanup_string_free_erase_ _cleanup_(string_free_erasep)
bool string_is_safe(const char *p) _pure_;
static inline size_t strlen_ptr(const char *s) {