mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
Fix a "nested extern" warning
This commit is contained in:
parent
972295f80a
commit
9e1cabdd43
@ -23,6 +23,7 @@
|
||||
|
||||
extern const struct generic_mapping file_generic_mapping;
|
||||
extern bool global_client_failed_oplock_break;
|
||||
extern uint32 global_client_caps;
|
||||
|
||||
struct deferred_open_record {
|
||||
bool delayed_for_oplocks;
|
||||
@ -796,7 +797,6 @@ static bool delay_for_oplocks(struct share_mode_lock *lck,
|
||||
int pass_number,
|
||||
int oplock_request)
|
||||
{
|
||||
extern uint32 global_client_caps;
|
||||
int i;
|
||||
struct share_mode_entry *exclusive = NULL;
|
||||
bool valid_entry = false;
|
||||
|
Loading…
Reference in New Issue
Block a user