summaryrefslogtreecommitdiffstats
path: root/source3/locking/proto.h
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2014-09-24 20:46:15 +0200
committerJeremy Allison <jra@samba.org>2014-10-31 03:47:40 +0100
commit9010bbeb00264f4476c3be7d2e8c8420c695cfbb (patch)
treec03448a0c323c99a1d5f55106a7bd5372929ea57 /source3/locking/proto.h
parent48926b761975a7d9cb6daf30d64d6a4f0a34f38a (diff)
downloadsamba-9010bbeb00264f4476c3be7d2e8c8420c695cfbb.tar.gz
samba-9010bbeb00264f4476c3be7d2e8c8420c695cfbb.tar.xz
samba-9010bbeb00264f4476c3be7d2e8c8420c695cfbb.zip
s3:locking: allow early return for share_entry_forall()
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/locking/proto.h')
-rw-r--r--source3/locking/proto.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/locking/proto.h b/source3/locking/proto.h
index a5c46c8140..44f3ba13e0 100644
--- a/source3/locking/proto.h
+++ b/source3/locking/proto.h
@@ -194,8 +194,8 @@ int share_mode_forall(int (*fn)(struct file_id fid,
const struct share_mode_data *data,
void *private_data),
void *private_data);
-int share_entry_forall(void (*fn)(const struct share_mode_entry *, const char *,
- const char *, void *),
+int share_entry_forall(int (*fn)(const struct share_mode_entry *, const char *,
+ const char *, void *),
void *private_data);
bool share_mode_cleanup_disconnected(struct file_id id,
uint64_t open_persistent_id);