From 0afa0ab442c4198dab76373d228f7123fd54eaec Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 9 Feb 2009 17:48:30 +0100 Subject: 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. --- lib/util/util.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib') 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_ */ -- cgit