summaryrefslogtreecommitdiff
path: root/lib/util/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/util/util.h')
-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 dced557acb..c6805d40d9 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_ */