util-lib: split out globbing related calls into glob-util.[ch]

This commit is contained in:
Lennart Poettering
2015-10-27 13:25:58 +01:00
parent 872a590ef8
commit 7d50b32a12
17 changed files with 125 additions and 59 deletions
-3
View File
@@ -294,9 +294,6 @@ static inline unsigned long ALIGN_POWER2(unsigned long u) {
#define PTR_TO_SIZE(p) ((size_t) ((uintptr_t) (p)))
#define SIZE_TO_PTR(u) ((void *) ((uintptr_t) (u)))
#define memzero(x,l) (memset((x), 0, (l)))
#define zero(x) (memzero(&(x), sizeof(x)))
#define CHAR_TO_STR(x) ((char[2]) { x, 0 })
#define char_array_0(x) x[sizeof(x)-1] = 0;