summaryrefslogtreecommitdiff
path: root/lib/talloc
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-08-03 11:33:06 +0200
committerAndrew Tridgell <tridge@samba.org>2009-08-24 16:29:58 +1000
commit8a90c8bc98a2501da41af132512d1c3875463102 (patch)
tree92be3532ace8cad23c57df69062bb3ebf2a58eaa /lib/talloc
parented384e8aac36fa768741ff7589e76b233064c586 (diff)
downloadsamba-8a90c8bc98a2501da41af132512d1c3875463102.tar.gz
samba-8a90c8bc98a2501da41af132512d1c3875463102.tar.bz2
samba-8a90c8bc98a2501da41af132512d1c3875463102.zip
talloc: remove unused build dependecies to samba
metze
Diffstat (limited to 'lib/talloc')
-rw-r--r--lib/talloc/talloc.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/lib/talloc/talloc.c b/lib/talloc/talloc.c
index 58776a9160..50dae3b947 100644
--- a/lib/talloc/talloc.c
+++ b/lib/talloc/talloc.c
@@ -30,26 +30,8 @@
inspired by http://swapped.cc/halloc/
*/
-#ifdef _SAMBA_BUILD_
-#include "version.h"
-#if (SAMBA_VERSION_MAJOR<4)
-#include "includes.h"
-/* This is to circumvent SAMBA3's paranoid malloc checker. Here in this file
- * we trust ourselves... */
-#ifdef malloc
-#undef malloc
-#endif
-#ifdef realloc
-#undef realloc
-#endif
-#define _TALLOC_SAMBA3
-#endif /* (SAMBA_VERSION_MAJOR<4) */
-#endif /* _SAMBA_BUILD_ */
-
-#ifndef _TALLOC_SAMBA3
#include "replace.h"
#include "talloc.h"
-#endif /* not _TALLOC_SAMBA3 */
/* use this to force every realloc to change the pointer, to stress test
code that might not cope */