summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2014-08-04 07:29:14 +0200
committerVolker Lendecke <vl@samba.org>2014-08-04 09:58:16 +0200
commitfb9d8c402614556d7a36f9e9efb72b3f4afe838a (patch)
tree64e10c0a39192816663f0904cade492dec350113 /lib
parent811e0e6f9962adbf0d12448044f17542b92ad15e (diff)
downloadsamba-fb9d8c402614556d7a36f9e9efb72b3f4afe838a.tar.gz
lib: Remove unused nstrcpy
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Mon Aug 4 09:58:16 CEST 2014 on sn-devel-104
Diffstat (limited to 'lib')
-rw-r--r--lib/util/string_wrappers.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/util/string_wrappers.h b/lib/util/string_wrappers.h
index 243fafc27ef..fcc088ca040 100644
--- a/lib/util/string_wrappers.h
+++ b/lib/util/string_wrappers.h
@@ -43,11 +43,6 @@ do { \
const char *_fstrcat_src = (const char *)(s); \
strlcat((d),_fstrcat_src ? _fstrcat_src : "",sizeof(fstring)); \
} while (0)
-#define nstrcpy(d,s) \
-do { \
- const char *_nstrcpy_src = (const char *)(s); \
- strlcpy((d),_nstrcpy_src ? _nstrcpy_src : "",sizeof(fstring)); \
-} while (0)
#define unstrcpy(d,s) \
do { \
const char *_unstrcpy_src = (const char *)(s); \