From 9e1cabdd43bb608c6aa707f0e42d99e204e86603 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 24 Dec 2008 13:52:20 +0100 Subject: [PATCH] Fix a "nested extern" warning --- source3/smbd/open.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/smbd/open.c b/source3/smbd/open.c index 03d994f0831..05b131efaff 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;