Make smbd_check_open_rights() static.
authorJeremy Allison <jra@samba.org>
Wed, 26 Oct 2011 21:06:41 +0000 (14:06 -0700)
committerJeremy Allison <jra@samba.org>
Fri, 28 Oct 2011 19:16:42 +0000 (12:16 -0700)
source3/smbd/globals.h
source3/smbd/open.c

index 472aeee5bbf70e095ed7dea94487abe19e09b391..14337e0c95b0467b2755426d17e2aee6a0652292 100644 (file)
@@ -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);
 
index 6ad85b752e49b4568ae37ae82e1ca916e4618b5f..976bb6fdb407b03a7568db7b831de752632c8a64 100644 (file)
@@ -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)