diff options
author | Herb Lewis <herb@samba.org> | 2006-12-12 17:38:42 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:16:26 -0500 |
commit | 791f48f167de339c8ae371e5c80706511fd10018 (patch) | |
tree | de938796cdcc79502b4c8257b9239e5f5070051f /source3/nsswitch/winbindd_ads.c | |
parent | 243b462b094f80d89020bdad78a531a857281bad (diff) | |
download | samba-791f48f167de339c8ae371e5c80706511fd10018.tar.gz samba-791f48f167de339c8ae371e5c80706511fd10018.tar.bz2 samba-791f48f167de339c8ae371e5c80706511fd10018.zip |
r20124: clean up nested extern declaration warnings
(This used to be commit ac3eb7813e33b9a2e78c9158433f7ed62c3b62bb)
Diffstat (limited to 'source3/nsswitch/winbindd_ads.c')
-rw-r--r-- | source3/nsswitch/winbindd_ads.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/nsswitch/winbindd_ads.c b/source3/nsswitch/winbindd_ads.c index ad24b87a90..3505f183f2 100644 --- a/source3/nsswitch/winbindd_ads.c +++ b/source3/nsswitch/winbindd_ads.c @@ -30,6 +30,8 @@ #undef DBGC_CLASS #define DBGC_CLASS DBGC_WINBIND +extern struct winbindd_methods reconnect_methods; + /* return our ads connections structure for a domain. We keep the connection open to make things faster @@ -117,7 +119,6 @@ static ADS_STRUCT *ads_cached_connection(struct winbindd_domain *domain) server, fall back to MSRPC */ if (status.error_type == ENUM_ADS_ERROR_SYSTEM && status.err.rc == ECONNREFUSED) { - extern struct winbindd_methods reconnect_methods; /* 'reconnect_methods' is the MS-RPC backend. */ DEBUG(1,("Trying MSRPC methods\n")); domain->backend = &reconnect_methods; |