summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2009-02-09 17:48:30 +0100
committerJelmer Vernooij <jelmer@samba.org>2009-02-09 17:48:30 +0100
commit0afa0ab442c4198dab76373d228f7123fd54eaec (patch)
treec6de7da3d0ee42e185cb32ddb1fe0e39123962ce /lib
parent9b366d703210b493aa1389bbdd288a2b00958766 (diff)
downloadsamba-0afa0ab442c4198dab76373d228f7123fd54eaec.tar.gz
samba-0afa0ab442c4198dab76373d228f7123fd54eaec.tar.bz2
samba-0afa0ab442c4198dab76373d228f7123fd54eaec.zip
Revert "s3/s4: Move CONST_DISCARD into lib/util so it's available from s3 and s4"
lib/util already has discard_const_p. This reverts commit 0cb430c22e9c0af2248fbc15ce97a4d760df189d.
Diffstat (limited to 'lib')
-rw-r--r--lib/util/util.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/util/util.h b/lib/util/util.h
index c6805d40d9..dced557acb 100644
--- a/lib/util/util.h
+++ b/lib/util/util.h
@@ -750,6 +750,4 @@ 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_ */