diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/include/proto.h | 1 | ||||
-rw-r--r-- | source3/lib/charcnv.c | 8 |
2 files changed, 0 insertions, 9 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index b0f17b3a4a..28f9c6c185 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -85,7 +85,6 @@ size_t pull_string_talloc(TALLOC_CTX *ctx, int flags); size_t align_string(const void *base_ptr, const char *p, int flags); size_t dos_PutUniCode(char *dst,const char *src, size_t len, bool null_terminate); -int rpcstr_push(void *dest, const char *src, size_t dest_len, int flags); int rpcstr_push_talloc(TALLOC_CTX *ctx, smb_ucs2_t **dest, const char *src); /* The following definitions come from lib/conn_tdb.c */ 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(). */ |