diff options
author | Herb Lewis <herb@samba.org> | 2005-04-06 16:28:04 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:56:30 -0500 |
commit | 978ca8486031e43754a3c23757f361bf3a85f335 (patch) | |
tree | 109bd3ff560afcbd74296990d9554859cb2fb78f /source3/nsswitch/winbindd_util.c | |
parent | 60dd0d0f9c277eb9852924aea81fee06b7395832 (diff) | |
download | samba-978ca8486031e43754a3c23757f361bf3a85f335.tar.gz samba-978ca8486031e43754a3c23757f361bf3a85f335.tar.bz2 samba-978ca8486031e43754a3c23757f361bf3a85f335.zip |
r6225: get rid of warnings from my compiler about nested externs
(This used to be commit efea76ac71412f8622cd233912309e91b9ea52da)
Diffstat (limited to 'source3/nsswitch/winbindd_util.c')
-rw-r--r-- | source3/nsswitch/winbindd_util.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/source3/nsswitch/winbindd_util.c b/source3/nsswitch/winbindd_util.c index 9ae24e401f..b9fb49ea7f 100644 --- a/source3/nsswitch/winbindd_util.c +++ b/source3/nsswitch/winbindd_util.c @@ -24,6 +24,10 @@ #include "includes.h" #include "winbindd.h" +extern DOM_SID global_sid_Builtin; +extern struct winbindd_methods cache_methods; +extern struct winbindd_methods passdb_methods; + #undef DBGC_CLASS #define DBGC_CLASS DBGC_WINBIND @@ -85,8 +89,6 @@ void free_domain_list(void) static BOOL is_internal_domain(const DOM_SID *sid) { - extern DOM_SID global_sid_Builtin; - if (sid == NULL) return False; @@ -183,7 +185,6 @@ static struct winbindd_domain *add_trusted_domain(const char *domain_name, const static void add_trusted_domains( struct winbindd_domain *domain ) { - extern struct winbindd_methods cache_methods; TALLOC_CTX *mem_ctx; NTSTATUS result; time_t t; @@ -284,9 +285,6 @@ void rescan_trusted_domains( void ) /* Look up global info for the winbind daemon */ BOOL init_domain_list(void) { - extern DOM_SID global_sid_Builtin; - extern struct winbindd_methods cache_methods; - extern struct winbindd_methods passdb_methods; struct winbindd_domain *domain; /* Free existing list */ |