diff options
author | Volker Lendecke <vl@samba.org> | 2019-07-03 11:25:41 +0200 |
---|---|---|
committer | Ralph Boehme <slow@samba.org> | 2019-07-08 16:22:37 +0000 |
commit | 9f0820f9ef2ba1cf5ab8f72a5826689f9453bc69 (patch) | |
tree | 1da0f474f4b4f09e7da8c0976a785b4624446e4f /source3 | |
parent | 6b96ae8316b748372819b0eabaee5c5e2a997d69 (diff) | |
download | samba-9f0820f9ef2ba1cf5ab8f72a5826689f9453bc69.tar.gz |
smbd: Make find_share_mode_entry() static to locking.c
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3')
-rw-r--r-- | source3/locking/locking.c | 2 | ||||
-rw-r--r-- | source3/locking/proto.h | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/source3/locking/locking.c b/source3/locking/locking.c index e173034165c..d87a882d14f 100644 --- a/source3/locking/locking.c +++ b/source3/locking/locking.c @@ -834,7 +834,7 @@ bool set_share_mode(struct share_mode_lock *lck, return true; } -struct share_mode_entry *find_share_mode_entry( +static struct share_mode_entry *find_share_mode_entry( struct share_mode_lock *lck, files_struct *fsp) { struct share_mode_data *d = lck->data; diff --git a/source3/locking/proto.h b/source3/locking/proto.h index 08d3f2c7ab8..3a086fa0516 100644 --- a/source3/locking/proto.h +++ b/source3/locking/proto.h @@ -162,8 +162,6 @@ bool set_share_mode(struct share_mode_lock *lck, uint16_t op_type, const struct GUID *client_guid, const struct smb2_lease_key *lease_key); -struct share_mode_entry *find_share_mode_entry(struct share_mode_lock *lck, - files_struct *fsp); void remove_stale_share_mode_entries(struct share_mode_data *d); bool del_share_mode(struct share_mode_lock *lck, files_struct *fsp); bool mark_share_mode_disconnected(struct share_mode_lock *lck, |