From: Volker Lendecke Date: Mon, 19 Dec 2022 09:16:51 +0000 (+0100) Subject: smbd: Make send_trans2_replies() static X-Git-Tag: talloc-2.4.0~151 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c515a5b2cc3f66b5d3c3fed5b2bdc70436bc80a9;p=thirdparty%2Fsamba.git smbd: Make send_trans2_replies() static Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison Autobuild-User(master): Jeremy Allison Autobuild-Date(master): Thu Dec 22 20:46:53 UTC 2022 on sn-devel-184 --- diff --git a/source3/smbd/smb1_trans2.c b/source3/smbd/smb1_trans2.c index 48dd66a31f5..29232e348de 100644 --- a/source3/smbd/smb1_trans2.c +++ b/source3/smbd/smb1_trans2.c @@ -56,14 +56,14 @@ HACK ! Always assumes smb_setup field is zero. ****************************************************************************/ -void send_trans2_replies(connection_struct *conn, - struct smb_request *req, - NTSTATUS status, - const char *params, - int paramsize, - const char *pdata, - int datasize, - int max_data_bytes) +static void send_trans2_replies(connection_struct *conn, + struct smb_request *req, + NTSTATUS status, + const char *params, + int paramsize, + const char *pdata, + int datasize, + int max_data_bytes) { /* As we are using a protocol > LANMAN1 then the max_send variable must have been set in the sessetupX call. diff --git a/source3/smbd/smb1_trans2.h b/source3/smbd/smb1_trans2.h index 04f96ed499d..d624f19eaec 100644 --- a/source3/smbd/smb1_trans2.h +++ b/source3/smbd/smb1_trans2.h @@ -23,14 +23,6 @@ along with this program. If not, see . */ -void send_trans2_replies(connection_struct *conn, - struct smb_request *req, - NTSTATUS status, - const char *params, - int paramsize, - const char *pdata, - int datasize, - int max_data_bytes); NTSTATUS smb_set_posix_lock(connection_struct *conn, struct smb_request *req, const char *pdata,