diff options
-rw-r--r-- | source3/include/proto.h | 1 | ||||
-rw-r--r-- | source3/smbd/files.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index f1bf7d379c..c55bf8343c 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -4765,7 +4765,6 @@ files_struct *file_find_di_next(files_struct *start_fsp); bool file_find_subpath(files_struct *dir_fsp); void file_sync_all(connection_struct *conn); void file_free(struct smb_request *req, files_struct *fsp); -files_struct *file_fnum(uint16 fnum); files_struct *file_fsp(struct smb_request *req, uint16 fid); NTSTATUS dup_file_fsp(struct smb_request *req, files_struct *from, uint32 access_mask, uint32 share_access, diff --git a/source3/smbd/files.c b/source3/smbd/files.c index 733cdce1d7..d1b5fb1146 100644 --- a/source3/smbd/files.c +++ b/source3/smbd/files.c @@ -484,7 +484,7 @@ void file_free(struct smb_request *req, files_struct *fsp) Get an fsp from a 16 bit fnum. ****************************************************************************/ -files_struct *file_fnum(uint16 fnum) +static struct files_struct *file_fnum(uint16 fnum) { files_struct *fsp; int count=0; |