From 30574a73d8073e1bb0a552fdf8444f17eeebec74 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 6 Jul 2011 17:57:45 +0200 Subject: s3:libsmb: remove unused clistr_pull_fn() metze --- source3/libsmb/clistr.c | 12 ------------ source3/libsmb/proto.h | 6 ------ 2 files changed, 18 deletions(-) (limited to 'source3') diff --git a/source3/libsmb/clistr.c b/source3/libsmb/clistr.c index ff18ef6bcf..e66b546eab 100644 --- a/source3/libsmb/clistr.c +++ b/source3/libsmb/clistr.c @@ -47,18 +47,6 @@ size_t clistr_push_fn(struct cli_state *cli, dest, src, dest_len, flags); } -size_t clistr_pull_fn(const char *inbuf, - char *dest, - const void *src, - int dest_len, - int src_len, - int flags) -{ - return pull_string_fn(inbuf, - SVAL(inbuf, smb_flg2), dest, src, dest_len, - src_len, flags); -} - size_t clistr_pull_talloc(TALLOC_CTX *ctx, const char *base, uint16_t flags2, diff --git a/source3/libsmb/proto.h b/source3/libsmb/proto.h index ac0e031a62..f364621938 100644 --- a/source3/libsmb/proto.h +++ b/source3/libsmb/proto.h @@ -785,12 +785,6 @@ size_t clistr_push_fn(struct cli_state *cli, const char *src, int dest_len, int flags); -size_t clistr_pull_fn(const char *inbuf, - char *dest, - const void *src, - int dest_len, - int src_len, - int flags); size_t clistr_pull_talloc(TALLOC_CTX *ctx, const char *base, uint16_t flags2, -- cgit