From 18a27a8df223ba8eb0faf6a64384acce174f3ace Mon Sep 17 00:00:00 2001 From: Tim Prouty Date: Thu, 2 Jul 2009 10:27:01 -0700 Subject: s3 sticky write time: Removed unused args and tighten up a function by making an arg const --- source3/locking/locking.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source3/locking') diff --git a/source3/locking/locking.c b/source3/locking/locking.c index dd735be88a..78064cfcf9 100644 --- a/source3/locking/locking.c +++ b/source3/locking/locking.c @@ -1415,7 +1415,8 @@ bool set_delete_on_close(files_struct *fsp, bool delete_on_close, const UNIX_USE return True; } -bool set_sticky_write_time(struct file_id fileid, struct timespec write_time) +bool set_sticky_write_time(const struct file_id fileid, + struct timespec write_time) { struct share_mode_lock *lck; -- cgit