smb1_file_se_access_check() is now static to smbd/open.c
authorJeremy Allison <jra@samba.org>
Fri, 4 Nov 2011 20:11:01 +0000 (13:11 -0700)
committerJeremy Allison <jra@samba.org>
Fri, 4 Nov 2011 21:16:37 +0000 (14:16 -0700)
source3/smbd/open.c
source3/smbd/proto.h

index 42edddcaf9cb9bbfa75e2a5e527850b8754370af..c26a3379cb034a8180e522f48673a76cab0804c3 100644 (file)
@@ -41,7 +41,7 @@ struct deferred_open_record {
  SMB1 file varient of se_access_check. Never test FILE_READ_ATTRIBUTES.
 ****************************************************************************/
 
-NTSTATUS smb1_file_se_access_check(struct connection_struct *conn,
+static NTSTATUS smb1_file_se_access_check(struct connection_struct *conn,
                                const struct security_descriptor *sd,
                                const struct security_token *token,
                                uint32_t access_desired,
index 343b0b916e50b845887c4f680b6dd7269d5f19c8..f6d543972f4ad80e39993bffc9835876bd79cdf4 100644 (file)
@@ -580,11 +580,6 @@ void reply_nttranss(struct smb_request *req);
 
 /* The following definitions come from smbd/open.c  */
 
-NTSTATUS smb1_file_se_access_check(connection_struct *conn,
-                               const struct security_descriptor *sd,
-                               const struct security_token *token,
-                               uint32_t access_desired,
-                               uint32_t *access_granted);
 NTSTATUS fd_close(files_struct *fsp);
 void change_file_owner_to_parent(connection_struct *conn,
                                 const char *inherit_from_dir,