summaryrefslogtreecommitdiff
path: root/source3/smbd/fileio.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2002-07-01 09:12:41 +0000
committerAndrew Tridgell <tridge@samba.org>2002-07-01 09:12:41 +0000
commit9930b0b0650ae3e38c033c28672398425dd8228c (patch)
tree47b143202d38ba49bae8be103d6420f5de8f33a3 /source3/smbd/fileio.c
parent859b13577309912fc5b3591971412b2cb3a42f28 (diff)
downloadsamba-9930b0b0650ae3e38c033c28672398425dd8228c.tar.gz
samba-9930b0b0650ae3e38c033c28672398425dd8228c.tar.bz2
samba-9930b0b0650ae3e38c033c28672398425dd8228c.zip
used findstatic.pl to make some variables static and remove some dead
code (This used to be commit 91ad9041e9507d36eb3f40c23c5d4df61f139ef0)
Diffstat (limited to 'source3/smbd/fileio.c')
-rw-r--r--source3/smbd/fileio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/fileio.c b/source3/smbd/fileio.c
index fd660f40d0..710ba396d8 100644
--- a/source3/smbd/fileio.c
+++ b/source3/smbd/fileio.c
@@ -28,7 +28,7 @@ static BOOL setup_write_cache(files_struct *, SMB_OFF_T);
Seek a file. Try to avoid the seek if possible.
****************************************************************************/
-SMB_OFF_T seek_file(files_struct *fsp,SMB_OFF_T pos)
+static SMB_OFF_T seek_file(files_struct *fsp,SMB_OFF_T pos)
{
SMB_OFF_T offset = 0;
SMB_OFF_T seek_ret;
@@ -58,7 +58,7 @@ SMB_OFF_T seek_file(files_struct *fsp,SMB_OFF_T pos)
****************************************************************************/
-BOOL read_from_write_cache(files_struct *fsp,char *data,SMB_OFF_T pos,size_t n)
+static BOOL read_from_write_cache(files_struct *fsp,char *data,SMB_OFF_T pos,size_t n)
{
write_cache *wcp = fsp->wcp;