1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-22 05:57:43 +03:00

smbd: Move "struct share_mode_lock" to share_mode_lock.h

share_mode_lock.c is where it's created

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Volker Lendecke 2020-11-04 11:34:54 +01:00 committed by Jeremy Allison
parent 13217e6eb9
commit 2fe1e601c9
2 changed files with 6 additions and 3 deletions

View File

@ -71,8 +71,6 @@ struct smbd_lock_element {
uint64_t count;
};
struct share_mode_lock {
struct share_mode_data *data;
};
struct share_mode_lock;
#endif /* _LOCKING_H_ */

View File

@ -16,6 +16,11 @@
#ifndef __LOCKING_SHARE_MODE_LOCK_H__
#define __LOCKING_SHARE_MODE_LOCK_H__
struct share_mode_data;
struct share_mode_lock {
struct share_mode_data *data;
};
bool locking_init(void);
bool locking_init_readonly(void);
bool locking_end(void);