summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/smbd/oplock.c2
-rw-r--r--source3/smbd/proto.h5
2 files changed, 1 insertions, 6 deletions
diff --git a/source3/smbd/oplock.c b/source3/smbd/oplock.c
index b14c370020..7a810d9a20 100644
--- a/source3/smbd/oplock.c
+++ b/source3/smbd/oplock.c
@@ -430,7 +430,7 @@ void break_level2_to_none_async(files_struct *fsp)
the client for LEVEL2.
*******************************************************************/
-void process_oplock_async_level2_break_message(struct messaging_context *msg_ctx,
+static void process_oplock_async_level2_break_message(struct messaging_context *msg_ctx,
void *private_data,
uint32_t msg_type,
struct server_id src,
diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h
index 64cf944320..0123e7dffb 100644
--- a/source3/smbd/proto.h
+++ b/source3/smbd/proto.h
@@ -654,11 +654,6 @@ bool downgrade_oplock(files_struct *fsp);
bool should_notify_deferred_opens(void);
void break_level2_to_none_async(files_struct *fsp);
void reply_to_oplock_break_requests(files_struct *fsp);
-void process_oplock_async_level2_break_message(struct messaging_context *msg_ctx,
- void *private_data,
- uint32_t msg_type,
- struct server_id src,
- DATA_BLOB *data);
void contend_level2_oplocks_begin(files_struct *fsp,
enum level2_contention_type type);
void contend_level2_oplocks_end(files_struct *fsp,