From 0d9b2048823870363db1856b8f5113f35aeb6a08 Mon Sep 17 00:00:00 2001 From: Tim Prouty Date: Tue, 7 Jul 2009 17:27:50 -0700 Subject: s3: Remove unnecessary const qualifiers --- source3/smbd/dosmode.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'source3/smbd') 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); -- cgit