mirror of
https://github.com/morgan9e/systemd
synced 2026-04-15 00:47:10 +09:00
Remove string_free_erase
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user