summaryrefslogtreecommitdiff
path: root/source3/rpc_parse/parse_misc.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-03-26 22:10:32 +1100
committerAndrew Tridgell <tridge@samba.org>2009-03-26 22:10:32 +1100
commit7eb7f423d048e869a19d560ab0d1ba3b51b62fa9 (patch)
tree18cb17db10e10a8d0f27d5a8e48ada2dfc16fae7 /source3/rpc_parse/parse_misc.c
parent3f37342bc0e7c26b6a61490706fe8cec3e6d491e (diff)
parent56d74b62126083dd7e2a60d1b48b03e1b1798c90 (diff)
downloadsamba-7eb7f423d048e869a19d560ab0d1ba3b51b62fa9.tar.gz
samba-7eb7f423d048e869a19d560ab0d1ba3b51b62fa9.tar.bz2
samba-7eb7f423d048e869a19d560ab0d1ba3b51b62fa9.zip
Merge branch 'master' of ssh://git.samba.org/data/git/samba
Diffstat (limited to 'source3/rpc_parse/parse_misc.c')
-rw-r--r--source3/rpc_parse/parse_misc.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/source3/rpc_parse/parse_misc.c b/source3/rpc_parse/parse_misc.c
index ffbd67befe..1ea4ecf46f 100644
--- a/source3/rpc_parse/parse_misc.c
+++ b/source3/rpc_parse/parse_misc.c
@@ -129,25 +129,6 @@ bool smb_io_uuid(const char *desc, struct GUID *uuid,
}
/*******************************************************************
- Inits a UNISTR structure.
-********************************************************************/
-
-void init_unistr(UNISTR *str, const char *buf)
-{
- size_t len;
-
- if (buf == NULL) {
- str->buffer = NULL;
- return;
- }
-
- len = rpcstr_push_talloc(talloc_tos(), &str->buffer, buf);
- if (len == (size_t)-1) {
- str->buffer = NULL;
- }
-}
-
-/*******************************************************************
Inits a UNISTR2 structure.
********************************************************************/