diff options
author | Günther Deschner <gd@samba.org> | 2009-03-18 12:22:22 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-03-18 20:17:01 +0100 |
commit | 7a85a87edf3a589235b932a3c802278e78da4ec5 (patch) | |
tree | ace8f992423de6faac1615218f5fe8b5f3bb44c9 /source3/lib | |
parent | e966719049702827c482c5e19783b9a7c725bdb1 (diff) | |
download | samba-7a85a87edf3a589235b932a3c802278e78da4ec5.tar.gz samba-7a85a87edf3a589235b932a3c802278e78da4ec5.tar.bz2 samba-7a85a87edf3a589235b932a3c802278e78da4ec5.zip |
s3-rpc_parse: remove unused BUFFER5 and UNISTR3.
Guenther
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/util_unistr.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/source3/lib/util_unistr.c b/source3/lib/util_unistr.c index 4e78d1b064..840e8e06da 100644 --- a/source3/lib/util_unistr.c +++ b/source3/lib/util_unistr.c @@ -383,22 +383,6 @@ void unistr2_to_ascii(char *dest, const UNISTR2 *str, size_t maxlen) pull_ucs2(NULL, dest, str->buffer, maxlen, str->uni_str_len*2, STR_NOALIGN); } -#if 0 -/******************************************************************* - Convert a (little-endian) UNISTR3 structure to an ASCII string. -********************************************************************/ - -void unistr3_to_ascii(char *dest, const UNISTR3 *str, size_t maxlen) -{ - if ((str == NULL) || (str->uni_str_len == 0)) { - *dest='\0'; - return; - } - pull_ucs2(NULL, dest, str->str.buffer, maxlen, str->uni_str_len*2, - STR_NOALIGN); -} -#endif - /******************************************************************* Duplicate a UNISTR2 string into a null terminated char* using a talloc context. |