From: Jeremy Allison Date: Wed, 26 Oct 2011 21:06:41 +0000 (-0700) Subject: Make smbd_check_open_rights() static. X-Git-Url: http://git.samba.org/?a=commitdiff_plain;h=1619de30805e57adc8bf063a9ccf6f5ba245bc5a;p=kai%2Fsamba.git Make smbd_check_open_rights() static. --- diff --git a/source3/smbd/globals.h b/source3/smbd/globals.h index 472aeee5bbf..14337e0c95b 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 6ad85b752e4..976bb6fdb40 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)