From 3235f44ac48e6945446329d57f3ecd0d10fa47e1 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 27 Sep 2010 02:32:50 +0200 Subject: s3: Make file_fnum static --- source3/include/proto.h | 1 - source3/smbd/files.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'source3') 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; -- cgit