From: Stefan Metzmacher Date: Sun, 15 Apr 2007 21:14:37 +0000 (+0000) Subject: r22229: discard_const_p is in lib/replace now X-Git-Tag: samba-misc-tags/initial-v3-0-unstable~711 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8dea4ebe98ec5bdb7fd55b54e9b14a52db817f4f;p=thirdparty%2Fsamba.git r22229: discard_const_p is in lib/replace now metze --- diff --git a/source/lib/ldb/include/includes.h b/source/lib/ldb/include/includes.h index 7a2e112241d..e2bcca2b04b 100644 --- a/source/lib/ldb/include/includes.h +++ b/source/lib/ldb/include/includes.h @@ -16,10 +16,6 @@ #define dyn_MODULESDIR dyn_LIBDIR #endif - - -#define discard_const_p(type, ptr) ((type *)((intptr_t)(ptr))) - #include "replace.h" #include "system/filesys.h" #include "system/network.h"