From 980064b76d774680febc5d201a1aacc4b9fa8b86 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 24 Mar 2011 11:42:40 +1100 Subject: lib: remove unused pieces of string_wrappers.h --- source3/include/proto.h | 2 +- source3/libsmb/clistr.c | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'source3') diff --git a/source3/include/proto.h b/source3/include/proto.h index 8e1bcc6417..3c454460f2 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -461,7 +461,7 @@ size_t pull_string_fn(const void *base_ptr, size_t dest_len, size_t src_len, int flags); -size_t pull_string_talloc_fn(TALLOC_CTX *ctx, +size_t pull_string_talloc(TALLOC_CTX *ctx, const void *base_ptr, uint16 smb_flags2, char **ppdest, diff --git a/source3/libsmb/clistr.c b/source3/libsmb/clistr.c index 373cce590d..944479c2a8 100644 --- a/source3/libsmb/clistr.c +++ b/source3/libsmb/clistr.c @@ -66,13 +66,13 @@ size_t clistr_pull_talloc(TALLOC_CTX *ctx, int src_len, int flags) { - return pull_string_talloc_fn(ctx, - base, - flags2, - pp_dest, - src, - src_len, - flags); + return pull_string_talloc(ctx, + base, + flags2, + pp_dest, + src, + src_len, + flags); } size_t clistr_align_out(struct cli_state *cli, const void *p, int flags) -- cgit