Remove string_erase

This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2019-07-10 13:54:50 +02:00
parent 9ae4ef49cd
commit 309c6b19a7
6 changed files with 5 additions and 40 deletions

View File

@@ -197,8 +197,6 @@ static inline int free_and_strdup_warn(char **p, const char *s) {
}
int free_and_strndup(char **p, const char *s, size_t l);
char *string_erase(char *x);
bool string_is_safe(const char *p) _pure_;
static inline size_t strlen_ptr(const char *s) {