summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/smbd/globals.h4
-rw-r--r--source3/smbd/open.c2
2 files changed, 1 insertions, 5 deletions
diff --git a/source3/smbd/globals.h b/source3/smbd/globals.h
index 472aeee5bb..14337e0c95 100644
--- a/source3/smbd/globals.h
+++ b/source3/smbd/globals.h
@@ -221,10 +221,6 @@ NTSTATUS smbd_calculate_access_mask(connection_struct *conn,
bool file_existed,
uint32_t access_mask,
uint32_t *access_mask_out);
-NTSTATUS smbd_check_open_rights(struct connection_struct *conn,
- const struct smb_filename *smb_fname,
- uint32_t access_mask,
- uint32_t *access_granted);
void smbd_notify_cancel_by_smbreq(const struct smb_request *smbreq);
diff --git a/source3/smbd/open.c b/source3/smbd/open.c
index 6ad85b752e..976bb6fdb4 100644
--- a/source3/smbd/open.c
+++ b/source3/smbd/open.c
@@ -68,7 +68,7 @@ NTSTATUS smb1_file_se_access_check(struct connection_struct *conn,
Check if we have open rights.
****************************************************************************/
-NTSTATUS smbd_check_open_rights(struct connection_struct *conn,
+static NTSTATUS smbd_check_open_rights(struct connection_struct *conn,
const struct smb_filename *smb_fname,
uint32_t access_mask,
uint32_t *access_granted)