summaryrefslogtreecommitdiff
path: root/ctdb/lib/util/util.h
diff options
context:
space:
mode:
authorBjörn Baumbach <bb@sernet.de>2014-04-14 14:37:29 +0200
committerJeremy Allison <jra@samba.org>2014-04-16 20:39:08 +0200
commitfae7e5d771d1c69bded1189b23335647023fa0f7 (patch)
tree7ae416ce7f3d12664b3fa75ac47c1e3a70514986 /ctdb/lib/util/util.h
parenta56c35a4deec9745ff27a66ddc85db48c5dfaf97 (diff)
downloadsamba-fae7e5d771d1c69bded1189b23335647023fa0f7.tar.gz
lib-util: rename memdup to smb_memdup and fix all callers
Signed-off-by: Björn Baumbach <bb@sernet.de> Reviewed-by: Volker Lendecke <vl@samba.org>
Diffstat (limited to 'ctdb/lib/util/util.h')
-rw-r--r--ctdb/lib/util/util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/lib/util/util.h b/ctdb/lib/util/util.h
index 467fba88ad6..9929d2e7e21 100644
--- a/ctdb/lib/util/util.h
+++ b/ctdb/lib/util/util.h
@@ -524,7 +524,7 @@ char *smb_xstrndup(const char *s, size_t n);
/**
Like strdup but for memory.
**/
-_PUBLIC_ void *memdup(const void *p, size_t size);
+_PUBLIC_ void *smb_memdup(const void *p, size_t size);
/**
* see if a range of memory is all zero. A NULL pointer is considered