1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-28 01:58:17 +03:00

s3: Make file_fnum static

This commit is contained in:
Volker Lendecke 2010-09-27 02:32:50 +02:00
parent f1c1959f13
commit 3235f44ac4
2 changed files with 1 additions and 2 deletions

View File

@ -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,

View File

@ -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;