summaryrefslogtreecommitdiff
path: root/src/basic/macro.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-10-27 01:48:17 +0100
committerLennart Poettering <lennart@poettering.net>2015-10-27 13:25:58 +0100
commit7d50b32a129e781401cf897475f388f682de1368 (patch)
tree19ccd3483828076177108fe2ec012c52f3f7dd9e /src/basic/macro.h
parent872a590ef83b23a65071242a8082d25d5efa6db6 (diff)
util-lib: split out globbing related calls into glob-util.[ch]
Diffstat (limited to 'src/basic/macro.h')
-rw-r--r--src/basic/macro.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/basic/macro.h b/src/basic/macro.h
index 975714da2b..daa7c416f7 100644
--- a/src/basic/macro.h
+++ b/src/basic/macro.h
@@ -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;