1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

s3:locking: make share_mode_do_locked() static

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15125

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Stefan Metzmacher 2022-08-18 14:38:55 +02:00 committed by Jeremy Allison
parent 0d5a960381
commit 7e2ec6ee56
2 changed files with 1 additions and 8 deletions

View File

@ -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,

View File

@ -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,