summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/oplock.c2
-rw-r--r--source3/smbd/proto.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/source3/smbd/oplock.c b/source3/smbd/oplock.c
index 05b0d0b7a4..5d9e42c116 100644
--- a/source3/smbd/oplock.c
+++ b/source3/smbd/oplock.c
@@ -388,7 +388,7 @@ static void send_break_message_smb1(files_struct *fsp, int level)
TALLOC_FREE(break_msg);
}
-void break_level2_to_none_async(files_struct *fsp)
+static void break_level2_to_none_async(files_struct *fsp)
{
struct smbd_server_connection *sconn = fsp->conn->sconn;
diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h
index 9c766096ed..f572c355f4 100644
--- a/source3/smbd/proto.h
+++ b/source3/smbd/proto.h
@@ -664,7 +664,6 @@ void release_file_oplock(files_struct *fsp);
bool remove_oplock(files_struct *fsp);
bool downgrade_oplock(files_struct *fsp);
bool should_notify_deferred_opens(struct smbd_server_connection *sconn);
-void break_level2_to_none_async(files_struct *fsp);
void contend_level2_oplocks_begin(files_struct *fsp,
enum level2_contention_type type);
void contend_level2_oplocks_end(files_struct *fsp,