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_util.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_util.c')
-rw-r--r-- | source3/nsswitch/winbindd_util.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/nsswitch/winbindd_util.c b/source3/nsswitch/winbindd_util.c index c0a19cd36f..e4b51019aa 100644 --- a/source3/nsswitch/winbindd_util.c +++ b/source3/nsswitch/winbindd_util.c @@ -27,6 +27,9 @@ #undef DBGC_CLASS #define DBGC_CLASS DBGC_WINBIND +extern struct winbindd_methods cache_methods; +extern struct winbindd_methods passdb_methods; + /** * @file winbindd_util.c * @@ -225,7 +228,6 @@ static void add_trusted_domains( struct winbindd_domain *domain ) static void trustdom_recv(void *private_data, BOOL success) { - extern struct winbindd_methods cache_methods; struct trustdom_state *state = talloc_get_type_abort(private_data, struct trustdom_state); struct winbindd_response *response = state->response; @@ -493,8 +495,6 @@ enum winbindd_result winbindd_dual_init_connection(struct winbindd_domain *domai /* Look up global info for the winbind daemon */ BOOL init_domain_list(void) { - extern struct winbindd_methods cache_methods; - extern struct winbindd_methods passdb_methods; struct winbindd_domain *domain; int role = lp_server_role(); |