From: Stefan Metzmacher Date: Thu, 18 Aug 2022 12:38:55 +0000 (+0200) Subject: s3:locking: make share_mode_do_locked() static X-Git-Tag: talloc-2.4.0~896 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e2ec6ee5670c42bdbb88507fa82c657c035c865;p=thirdparty%2Fsamba.git s3:locking: make share_mode_do_locked() static BUG: https://bugzilla.samba.org/show_bug.cgi?id=15125 Signed-off-by: Stefan Metzmacher Reviewed-by: Jeremy Allison --- diff --git a/source3/locking/share_mode_lock.c b/source3/locking/share_mode_lock.c index 89b9d1dd2d2..3d890a3c86a 100644 --- a/source3/locking/share_mode_lock.c +++ b/source3/locking/share_mode_lock.c @@ -1038,7 +1038,7 @@ static void share_mode_do_locked_fn( } } -NTSTATUS share_mode_do_locked( +static NTSTATUS share_mode_do_locked( struct file_id id, void (*fn)(const uint8_t *buf, size_t buflen, diff --git a/source3/locking/share_mode_lock.h b/source3/locking/share_mode_lock.h index c02058634ac..199e500df23 100644 --- a/source3/locking/share_mode_lock.h +++ b/source3/locking/share_mode_lock.h @@ -91,13 +91,6 @@ int share_entry_forall( void *private_data); NTSTATUS share_mode_count_entries(struct file_id fid, size_t *num_share_modes); -NTSTATUS share_mode_do_locked( - struct file_id id, - void (*fn)(const uint8_t *buf, - size_t buflen, - bool *modified_dependent, - void *private_data), - void *private_data); int share_mode_forall( int (*fn)(struct file_id fid, const struct share_mode_data *data,