summaryrefslogtreecommitdiff
path: root/source3/locking
diff options
context:
space:
mode:
authorTim Prouty <tprouty@samba.org>2009-07-02 10:27:01 -0700
committerTim Prouty <tprouty@samba.org>2009-07-06 15:38:41 -0700
commit18a27a8df223ba8eb0faf6a64384acce174f3ace (patch)
treed57bbf2825951eb7b5a8883b0f2733bd1ce74958 /source3/locking
parent99bd4fda0cd97eb211549a511a2ff6153c2bde2d (diff)
downloadsamba-18a27a8df223ba8eb0faf6a64384acce174f3ace.tar.gz
samba-18a27a8df223ba8eb0faf6a64384acce174f3ace.tar.bz2
samba-18a27a8df223ba8eb0faf6a64384acce174f3ace.zip
s3 sticky write time: Removed unused args and tighten up a function by making an arg const
Diffstat (limited to 'source3/locking')
-rw-r--r--source3/locking/locking.c3
1 files changed, 2 insertions, 1 deletions
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;