s3: Make request_timed_out() static
authorVolker Lendecke <vl@samba.org>
Wed, 30 May 2012 09:31:13 +0000 (11:31 +0200)
committerStefan Metzmacher <metze@samba.org>
Tue, 31 Jul 2012 09:40:22 +0000 (11:40 +0200)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
source3/smbd/open.c
source3/smbd/proto.h

index 15f588885ef77e4986c3dbef6b67857a1b1f287d..d078638aaee235a450ea0ff713d52f0d82e87467 100644 (file)
@@ -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);
index 8449fe916df9d927a02a9b94e6acc6d93fc0c4a1..aa79688106012e3d4772425307485d970db68362 100644 (file)
@@ -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,