lib: Remove unused nstrcpy
authorVolker Lendecke <vl@samba.org>
Mon, 4 Aug 2014 05:29:14 +0000 (07:29 +0200)
committerVolker Lendecke <vl@samba.org>
Mon, 4 Aug 2014 07:58:16 +0000 (09:58 +0200)
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

lib/util/string_wrappers.h

index 243fafc27ef2a14b93199f58d6fb9a28db833e9d..fcc088ca0404175e0d621e56e6cfba111c83c32a 100644 (file)
@@ -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); \