summaryrefslogtreecommitdiffstats
path: root/lib/util
diff options
context:
space:
mode:
Diffstat (limited to 'lib/util')
-rw-r--r--lib/util/util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/util/util.h b/lib/util/util.h
index dced557acbe..c6805d40d94 100644
--- a/lib/util/util.h
+++ b/lib/util/util.h
@@ -750,4 +750,6 @@ bool unmap_file(void *start, size_t size);
void print_asc(int level, const uint8_t *buf,int len);
+#define CONST_DISCARD(type, ptr) ((type) ((void *) (ptr)))
+
#endif /* _SAMBA_UTIL_H_ */