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:
parent
13217e6eb9
commit
2fe1e601c9
@ -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_ */
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user