From: Ralph Boehme Date: Thu, 22 May 2025 15:50:09 +0000 (+0200) Subject: smbtorture: make torture_lease_break_callback() static X-Git-Tag: samba-4.22.2~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0939ddae86b7a66421c864ddb909a877bba9bc92;p=thirdparty%2Fsamba.git smbtorture: make torture_lease_break_callback() static It's only used in this compilation unit. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15861 Signed-off-by: Ralph Boehme Reviewed-by: Bjoern Jacke (cherry picked from commit 56fe5e8ef192f38b928eed9b454709242f02699e) --- diff --git a/source4/torture/smb2/lease_break_handler.c b/source4/torture/smb2/lease_break_handler.c index ca4cf2290d6..b33e0cb31e9 100644 --- a/source4/torture/smb2/lease_break_handler.c +++ b/source4/torture/smb2/lease_break_handler.c @@ -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;