summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2011-10-26 14:06:41 -0700
committerJeremy Allison <jra@samba.org>2011-10-28 12:16:42 -0700
commit1619de30805e57adc8bf063a9ccf6f5ba245bc5a (patch)
tree30b4c93fc3b1fc2cbfb48cabb4026d820a4f3052
parent151bb290d12f6727fce4b6be29175d5ad5551bef (diff)
downloadsamba-1619de30805e57adc8bf063a9ccf6f5ba245bc5a.tar.gz
samba-1619de30805e57adc8bf063a9ccf6f5ba245bc5a.tar.bz2
samba-1619de30805e57adc8bf063a9ccf6f5ba245bc5a.zip
Make smbd_check_open_rights() static.
-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)