util: move string_is_safe() to string-util.[ch]

This commit is contained in:
Lennart Poettering
2015-10-27 13:25:56 +01:00
parent f4f15635ec
commit f3e2e81d53
4 changed files with 19 additions and 19 deletions
-2
View File
@@ -262,8 +262,6 @@ _alloc_(2, 3) static inline void *memdup_multiply(const void *p, size_t a, size_
return memdup(p, a * b);
}
bool string_is_safe(const char *p) _pure_;
/**
* Check if a string contains any glob patterns.
*/