summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorTim Prouty <tprouty@samba.org>2009-07-07 17:27:50 -0700
committerTim Prouty <tprouty@samba.org>2009-07-07 18:02:53 -0700
commit0d9b2048823870363db1856b8f5113f35aeb6a08 (patch)
tree59a3d8e16b6b6d5d8e6dafc52daa7da3198f8a67 /source3/smbd
parent9aebdc25010548c00d64b02f827c80a6e8fee9bf (diff)
downloadsamba-0d9b2048823870363db1856b8f5113f35aeb6a08.tar.gz
samba-0d9b2048823870363db1856b8f5113f35aeb6a08.tar.bz2
samba-0d9b2048823870363db1856b8f5113f35aeb6a08.zip
s3: Remove unnecessary const qualifiers
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/dosmode.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/source3/smbd/dosmode.c b/source3/smbd/dosmode.c
index 76034db164..9d44eeec7d 100644
--- a/source3/smbd/dosmode.c
+++ b/source3/smbd/dosmode.c
@@ -781,8 +781,7 @@ int file_ntimes(connection_struct *conn, const struct smb_filename *smb_fname,
returned on all future write time queries and set on close.
******************************************************************/
-bool set_sticky_write_time_path(const struct file_id fileid,
- const struct timespec mtime)
+bool set_sticky_write_time_path(struct file_id fileid, struct timespec mtime)
{
if (null_timespec(mtime)) {
return true;
@@ -800,7 +799,7 @@ bool set_sticky_write_time_path(const struct file_id fileid,
returned on all future write time queries and set on close.
******************************************************************/
-bool set_sticky_write_time_fsp(struct files_struct *fsp, const struct timespec mtime)
+bool set_sticky_write_time_fsp(struct files_struct *fsp, struct timespec mtime)
{
fsp->write_time_forced = true;
TALLOC_FREE(fsp->update_write_time_event);