]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
smbd: Make send_trans2_replies() static
authorVolker Lendecke <vl@samba.org>
Mon, 19 Dec 2022 09:16:51 +0000 (10:16 +0100)
committerJeremy Allison <jra@samba.org>
Thu, 22 Dec 2022 20:46:53 +0000 (20:46 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Dec 22 20:46:53 UTC 2022 on sn-devel-184

source3/smbd/smb1_trans2.c
source3/smbd/smb1_trans2.h

index 48dd66a31f500e5043f1be365a5c1b7fc07f3e65..29232e348de532076024c878d9658dabaf4a7c50 100644 (file)
   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.
index 04f96ed499df6359fa6896ee8d9d3f43b7095429..d624f19eaeca8734744fd50ae53fa9df285e5276 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
 
-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,