summaryrefslogtreecommitdiff
path: root/source3/nsswitch
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>2006-12-18 20:37:26 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:16:36 -0500
commitef4c2088c5f1de5d8665061963acdd1d71500cd8 (patch)
tree10f9d33ecb6d8bc643f0eae9ba4126057f5626e7 /source3/nsswitch
parent91626a4497e6bf99e436db344e19e2e2e4dd967e (diff)
downloadsamba-ef4c2088c5f1de5d8665061963acdd1d71500cd8.tar.gz
samba-ef4c2088c5f1de5d8665061963acdd1d71500cd8.tar.bz2
samba-ef4c2088c5f1de5d8665061963acdd1d71500cd8.zip
r20245: merge 20244 from samba_3_0_24
get rid of more nested extern declarations warnings (This used to be commit e9df051f5201843e3428ddbed7a719553c2e799a)
Diffstat (limited to 'source3/nsswitch')
-rw-r--r--source3/nsswitch/winbindd_cm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/nsswitch/winbindd_cm.c b/source3/nsswitch/winbindd_cm.c
index a18f5cf31b..0a0dc63bca 100644
--- a/source3/nsswitch/winbindd_cm.c
+++ b/source3/nsswitch/winbindd_cm.c
@@ -65,13 +65,14 @@
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_WINBIND
-extern struct winbindd_methods reconnect_methods;
-
struct dc_name_ip {
fstring name;
struct in_addr ip;
};
+extern struct winbindd_methods reconnect_methods;
+extern BOOL override_logfile;
+
static NTSTATUS init_dc_connection_network(struct winbindd_domain *domain);
static void set_dc_type_and_flags( struct winbindd_domain *domain );
static BOOL get_dcs(TALLOC_CTX *mem_ctx, const struct winbindd_domain *domain,
@@ -160,7 +161,6 @@ static void msg_try_to_go_online(int msg_type, struct process_id src, void *buf,
static BOOL fork_child_dc_connect(struct winbindd_domain *domain)
{
- extern BOOL override_logfile;
struct dc_name_ip *dcs = NULL;
int num_dcs = 0;
TALLOC_CTX *mem_ctx = NULL;