From: Jeremy Allison Date: Tue, 29 Sep 2020 18:13:03 +0000 (-0700) Subject: s3: smbd: srvstr_get_path_req_wcard() is now static to reply.c X-Git-Tag: talloc-2.3.2~409 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=525ccadd641260f8c8f3229341927de04a4fe046;p=thirdparty%2Fsamba.git s3: smbd: srvstr_get_path_req_wcard() is now static to reply.c Signed-off-by: Jeremy Allison Reviewed-by: Ralph Boehme --- diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h index be960a80c8e..5fa101c3622 100644 --- a/source3/smbd/proto.h +++ b/source3/smbd/proto.h @@ -972,9 +972,6 @@ size_t srvstr_get_path_posix(TALLOC_CTX *ctx, size_t src_len, int flags, NTSTATUS *err); -size_t srvstr_get_path_req_wcard(TALLOC_CTX *mem_ctx, struct smb_request *req, - char **pp_dest, const char *src, int flags, - NTSTATUS *err, bool *contains_wcard); size_t srvstr_get_path_req(TALLOC_CTX *mem_ctx, struct smb_request *req, char **pp_dest, const char *src, int flags, NTSTATUS *err); diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index db41bb54531..38d9399eea1 100644 --- a/source3/smbd/reply.c +++ b/source3/smbd/reply.c @@ -410,7 +410,7 @@ size_t srvstr_get_path_posix(TALLOC_CTX *ctx, } -size_t srvstr_get_path_req_wcard(TALLOC_CTX *mem_ctx, struct smb_request *req, +static size_t srvstr_get_path_req_wcard(TALLOC_CTX *mem_ctx, struct smb_request *req, char **pp_dest, const char *src, int flags, NTSTATUS *err, bool *contains_wcard) {