]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
smbtorture: make torture_lease_break_callback() static
authorRalph Boehme <slow@samba.org>
Thu, 22 May 2025 15:50:09 +0000 (17:50 +0200)
committerJule Anger <janger@samba.org>
Thu, 5 Jun 2025 10:57:15 +0000 (10:57 +0000)
It's only used in this compilation unit.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15861

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Bjoern Jacke <bjacke@samba.org>
(cherry picked from commit 56fe5e8ef192f38b928eed9b454709242f02699e)

source4/torture/smb2/lease_break_handler.c

index ca4cf2290d6b40a84b10fe8ea302d66d71f1f199..b33e0cb31e94ed41de721e73c0b292ca5d24460b 100644 (file)
@@ -31,7 +31,7 @@
 
 struct lease_break_info lease_break_info;
 
-void torture_lease_break_callback(struct smb2_request *req)
+static void torture_lease_break_callback(struct smb2_request *req)
 {
        NTSTATUS status;