From d2eb26cfbd7d0ec664c653672125776db94ecc5f Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 30 May 2012 11:31:13 +0200 Subject: s3: Make request_timed_out() static Signed-off-by: Stefan Metzmacher --- source3/smbd/open.c | 4 ++-- source3/smbd/proto.h | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'source3') 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, -- cgit