summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/open.c20
-rw-r--r--source3/smbd/proto.h10
2 files changed, 10 insertions, 20 deletions
diff --git a/source3/smbd/open.c b/source3/smbd/open.c
index a012675f56..c42835665b 100644
--- a/source3/smbd/open.c
+++ b/source3/smbd/open.c
@@ -1422,16 +1422,16 @@ bool open_match_attributes(connection_struct *conn,
Try and find a duplicated file handle.
****************************************************************************/
-NTSTATUS fcb_or_dos_open(struct smb_request *req,
- connection_struct *conn,
- files_struct *fsp_to_dup_into,
- const struct smb_filename *smb_fname,
- struct file_id id,
- uint16 file_pid,
- uint16 vuid,
- uint32 access_mask,
- uint32 share_access,
- uint32 create_options)
+static NTSTATUS fcb_or_dos_open(struct smb_request *req,
+ connection_struct *conn,
+ files_struct *fsp_to_dup_into,
+ const struct smb_filename *smb_fname,
+ struct file_id id,
+ uint16 file_pid,
+ uint16 vuid,
+ uint32 access_mask,
+ uint32 share_access,
+ uint32 create_options)
{
files_struct *fsp;
diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h
index 693a498026..e9365661be 100644
--- a/source3/smbd/proto.h
+++ b/source3/smbd/proto.h
@@ -611,16 +611,6 @@ bool open_match_attributes(connection_struct *conn,
mode_t existing_unx_mode,
mode_t new_unx_mode,
mode_t *returned_unx_mode);
-NTSTATUS fcb_or_dos_open(struct smb_request *req,
- connection_struct *conn,
- files_struct *fsp_to_dup_into,
- const struct smb_filename *smb_fname,
- struct file_id id,
- uint16 file_pid,
- uint16 vuid,
- uint32 access_mask,
- uint32 share_access,
- uint32 create_options);
void remove_deferred_open_entry(struct file_id id, uint64_t mid,
struct server_id pid);
NTSTATUS open_file_fchmod(connection_struct *conn,