Remove unused CONST_DISCARD macro.
authorJelmer Vernooij <jelmer@samba.org>
Sun, 15 Mar 2009 02:05:46 +0000 (03:05 +0100)
committerJelmer Vernooij <jelmer@samba.org>
Sun, 15 Mar 2009 02:05:46 +0000 (03:05 +0100)
source4/configure.ac
source4/include/includes.h

index d33df08406856f0f1bce223b94fd55391af1ca90..792e90131a9d4b1539d97198229fa8e1b5a5ae9d 100644 (file)
@@ -42,7 +42,7 @@ AC_CONFIG_FILES(param/samba-hostconfig.pc)
 AC_CONFIG_FILES(librpc/dcerpc_samr.pc)
 AC_CONFIG_FILES(librpc/dcerpc_atsvc.pc)
 
-SMB_INCLUDED_LIB_PKGCONFIG(LIBTALLOC, talloc >= 1.2.1, [],
+SMB_INCLUDED_LIB_PKGCONFIG(LIBTALLOC, talloc >= 1.3.0, [],
        [
                m4_include(../lib/talloc/libtalloc.m4)
                SMB_INCLUDE_MK(../lib/talloc/config.mk)
index ddda21f9d8efa55c0ef350393828369995662d4a..d9b7759e7e9ee47807ce498b15706e69affc5d12 100644 (file)
 /* String routines */
 #include "../lib/util/safe_string.h"
 
-#ifndef CONST_DISCARD
-#define CONST_DISCARD(type, ptr)      ((type) ((void *) (ptr)))
-#endif
-
 #if 0
 /* darn, we can't do this now that we don't link the ldb tools to all the smb libs */
 #define TALLOC_ABORT(reason) smb_panic(reason)