summaryrefslogtreecommitdiffstats
path: root/source3/locking/proto.h
diff options
context:
space:
mode:
authorGregor Beck <gbeck@sernet.de>2013-03-12 15:10:51 +0100
committerMichael Adam <obnox@samba.org>2013-04-18 13:15:13 +0200
commit3d3e7e837a339dfc1aaf4d7fc52f95f3f6a80173 (patch)
treedae52347724c105cbeb3e005babbe0b66c9574db /source3/locking/proto.h
parentee81a6e7d0263d263f7d4e7bd5bd9c4156cae8cf (diff)
downloadsamba-3d3e7e837a339dfc1aaf4d7fc52f95f3f6a80173.tar.gz
samba-3d3e7e837a339dfc1aaf4d7fc52f95f3f6a80173.tar.xz
samba-3d3e7e837a339dfc1aaf4d7fc52f95f3f6a80173.zip
s3:locking: no need to make a file_id passed by value a constant
Signed-off-by: Gregor Beck <gbeck@sernet.de> Reviewed-by: Michael Adam <obnox@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/locking/proto.h')
-rw-r--r--source3/locking/proto.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/locking/proto.h b/source3/locking/proto.h
index 69c78e3233f..1d8eb73ebd0 100644
--- a/source3/locking/proto.h
+++ b/source3/locking/proto.h
@@ -150,15 +150,15 @@ bool locking_init_readonly(void);
bool locking_end(void);
char *share_mode_str(TALLOC_CTX *ctx, int num, const struct share_mode_entry *e);
struct share_mode_lock *get_existing_share_mode_lock(TALLOC_CTX *mem_ctx,
- const struct file_id id);
+ struct file_id id);
struct share_mode_lock *get_share_mode_lock(
TALLOC_CTX *mem_ctx,
- const struct file_id id,
+ struct file_id id,
const char *servicepath,
const struct smb_filename *smb_fname,
const struct timespec *old_write_time);
struct share_mode_lock *fetch_share_mode_unlocked(TALLOC_CTX *mem_ctx,
- const struct file_id id);
+ struct file_id id);
bool rename_share_filename(struct messaging_context *msg_ctx,
struct share_mode_lock *lck,
const char *servicepath,