summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-02-09 13:40:52 +1100
committerAndrew Bartlett <abartlet@samba.org>2012-02-10 16:45:14 +1100
commit45123530e52d9d096d5a01f02ba4672bd75b9305 (patch)
treef92afb881dded67931d65ecaeebb905d27cf8ae6 /source3/lib
parenta7835f473694dd7ff0ad7679e86fd4b2de7e23ce (diff)
downloadsamba-45123530e52d9d096d5a01f02ba4672bd75b9305.tar.gz
samba-45123530e52d9d096d5a01f02ba4672bd75b9305.tar.bz2
samba-45123530e52d9d096d5a01f02ba4672bd75b9305.zip
s3-charcnv: Remove unused rpcstr_push()
Found by callcatcher: http://www.skynet.ie/~caolan/Packages/callcatcher.html Andrew Bartlett
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/charcnv.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/source3/lib/charcnv.c b/source3/lib/charcnv.c
index f5bcab80cf..ecf62e551a 100644
--- a/source3/lib/charcnv.c
+++ b/source3/lib/charcnv.c
@@ -595,14 +595,6 @@ size_t dos_PutUniCode(char *dst,const char *src, size_t len, bool null_terminate
}
-/* Converts a string from internal samba format to unicode
- */
-
-int rpcstr_push(void *dest, const char *src, size_t dest_len, int flags)
-{
- return push_ucs2(NULL, dest, src, dest_len, flags|STR_UNICODE|STR_NOALIGN);
-}
-
/* Converts a string from internal samba format to unicode. Always terminates.
* Actually just a wrapper round push_ucs2_talloc().
*/