summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-12-24 13:52:20 +0100
committerVolker Lendecke <vl@samba.org>2008-12-31 19:33:25 +0100
commit9e1cabdd43bb608c6aa707f0e42d99e204e86603 (patch)
tree1754368614e2086e9b804de51b518309ca42131a /source3
parent972295f80a96e3928be426edf607cbdd3990a2d9 (diff)
downloadsamba-9e1cabdd43bb608c6aa707f0e42d99e204e86603.tar.gz
samba-9e1cabdd43bb608c6aa707f0e42d99e204e86603.tar.bz2
samba-9e1cabdd43bb608c6aa707f0e42d99e204e86603.zip
Fix a "nested extern" warning
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/open.c b/source3/smbd/open.c
index 03d994f083..05b131efaf 100644
--- a/source3/smbd/open.c
+++ b/source3/smbd/open.c
@@ -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;