summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-05-30 11:31:13 +0200
committerStefan Metzmacher <metze@samba.org>2012-07-31 11:40:22 +0200
commitd2eb26cfbd7d0ec664c653672125776db94ecc5f (patch)
treec8c4a9959af2ee91102b0af4bfc27f911944e309 /source3/smbd
parent35c0f164bcdbb52e38aa9d53b90d368659963764 (diff)
downloadsamba-d2eb26cfbd7d0ec664c653672125776db94ecc5f.tar.gz
samba-d2eb26cfbd7d0ec664c653672125776db94ecc5f.tar.bz2
samba-d2eb26cfbd7d0ec664c653672125776db94ecc5f.zip
s3: Make request_timed_out() static
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/open.c4
-rw-r--r--source3/smbd/proto.h2
2 files changed, 2 insertions, 4 deletions
diff --git a/source3/smbd/open.c b/source3/smbd/open.c
index 15f588885e..d078638aae 100644
--- a/source3/smbd/open.c
+++ b/source3/smbd/open.c
@@ -1416,8 +1416,8 @@ static void grant_fsp_oplock_type(files_struct *fsp,
fsp->oplock_type, fsp_str_dbg(fsp)));
}
-bool request_timed_out(struct timeval request_time,
- struct timeval timeout)
+static bool request_timed_out(struct timeval request_time,
+ struct timeval timeout)
{
struct timeval now, end_time;
GetTimeOfDay(&now);
diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h
index 8449fe916d..aa79688106 100644
--- a/source3/smbd/proto.h
+++ b/source3/smbd/proto.h
@@ -606,8 +606,6 @@ NTSTATUS change_dir_owner_to_parent(connection_struct *conn,
const char *fname,
SMB_STRUCT_STAT *psbuf);
bool is_stat_open(uint32 access_mask);
-bool request_timed_out(struct timeval request_time,
- struct timeval timeout);
bool open_match_attributes(connection_struct *conn,
uint32 old_dos_attr,
uint32 new_dos_attr,