summaryrefslogtreecommitdiff
path: root/source3/include/smb_macros.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-06-07 12:13:26 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-06-09 12:40:08 +0200
commit8d4a8389bb2df77ff8923dda8368aa2915652c1a (patch)
treeaba02d7ca688a18a9ecfa2beccfe4e1b8d464c72 /source3/include/smb_macros.h
parent5e26e94092b56ee47e7ec7837f7cd0feb3fb0119 (diff)
downloadsamba-8d4a8389bb2df77ff8923dda8368aa2915652c1a.tar.gz
samba-8d4a8389bb2df77ff8923dda8368aa2915652c1a.tar.bz2
samba-8d4a8389bb2df77ff8923dda8368aa2915652c1a.zip
s3-talloc Change TALLOC_MEMDUP() to talloc_memdup()
Using the standard macro makes it easier to move code into common, as TALLOC_MEMDUP isn't standard talloc.
Diffstat (limited to 'source3/include/smb_macros.h')
-rw-r--r--source3/include/smb_macros.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/source3/include/smb_macros.h b/source3/include/smb_macros.h
index ce1bc6dafd..37ea1b4292 100644
--- a/source3/include/smb_macros.h
+++ b/source3/include/smb_macros.h
@@ -219,7 +219,6 @@ copy an IP address from one buffer to another
#define SMB_XMALLOC_ARRAY(type,count) (type *)smb_xmalloc_array(sizeof(type),(count))
#define TALLOC(ctx, size) talloc_named_const(ctx, size, __location__)
-#define TALLOC_MEMDUP(ctx, ptr, size) _talloc_memdup(ctx, ptr, size, __location__)
#define TALLOC_ZERO(ctx, size) _talloc_zero(ctx, size, __location__)
#define TALLOC_SIZE(ctx, size) talloc_named_const(ctx, size, __location__)
#define TALLOC_ZERO_SIZE(ctx, size) _talloc_zero(ctx, size, __location__)